[Scipy-svn] r4112 - trunk/scipy/special

scipy-svn@scip... scipy-svn@scip...
Mon Apr 7 23:11:27 CDT 2008


Author: cdavid
Date: 2008-04-07 23:11:23 -0500 (Mon, 07 Apr 2008)
New Revision: 4112

Modified:
   trunk/scipy/special/SConstruct
Log:
Change name of static specfunc lib to avoid clash names on windows between the imp lib and the pyton wrapper.

Modified: trunk/scipy/special/SConstruct
===================================================================
--- trunk/scipy/special/SConstruct	2008-04-08 04:01:45 UTC (rev 4111)
+++ trunk/scipy/special/SConstruct	2008-04-08 04:11:23 UTC (rev 4112)
@@ -41,9 +41,9 @@
 build_lib('toms', '.f')
 build_lib('amos', '.f')
 build_lib('cdflib', '.f', 'cdf')
-build_lib('specfun', '.f')
+build_lib('specfunlib', '.f')
 
-env.AppendUnique(LIBPATH = env['build_dir'])
+env.AppendUnique(LIBPATH = [env['build_dir']])
 
 # Cephes extension
 src = ['_cephesmodule.c', 'amos_wrappers.c', 'specfun_wrappers.c', \
@@ -52,10 +52,10 @@
 env.NumpyPythonExtension('_cephes', 
                          source = src, 
                          LIBS = ['amos', 'toms', 'c_misc', 'cephes', 'mach',\
-                                 'cdf', 'specfun'], 
+                                 'cdf', 'specfunlib'], 
                          LINKFLAGSEND = env['F77_LDFLAGS'])
 
 # Specfun extension
-env.NumpyPythonExtension('specfun', source = 'specfun.pyf', LIBS = 'specfun', \
+env.NumpyPythonExtension('specfun', source = 'specfun.pyf', LIBS = 'specfunlib', \
                          F2PYOPTIONS = ["--no-wrap-functions"],
                          LINKFLAGSEND = env['F77_LDFLAGS'])



More information about the Scipy-svn mailing list