Changeset 8702


Ignore:
Timestamp:
Feb 15, 2013, 3:29:37 PM (12 years ago)
Author:
steve
Message:

Small change to compile.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga/utilities/compile.py

    r8701 r8702  
    318318
    319319
    320   libs = libs + netcdf_lib_dirs
    321 
    322320  # Make shared library (*.so or *.dll)
    323321  if FN=="fitsmooth.c":
    324     libs = libs + netcdf_lib_dirs
     322    fitlibs = libs + netcdf_lib_dirs
    325323    if sys.platform == 'win32':   
    326324      if libs is "":
    327325        s = '%s -%s %s ../utilities/quad_tree.o ../utilities/sparse_dok.o ../utilities/sparse_csr.o -o %s.%s -lm  -fopenmp netcdf.dll' %(loader, sharedflag, object_files, root1, libext)
    328326      else:
    329         s = '%s -%s %s ../utilities/quad_tree.o ../utilities/sparse_dok.o ../utilities/sparse_csr.o -o %s.%s "%s" -lm  -fopenmp netcdf.dll' %(loader, sharedflag, object_files, root1, libext, libs)
     327        s = '%s -%s %s ../utilities/quad_tree.o ../utilities/sparse_dok.o ../utilities/sparse_csr.o -o %s.%s "%s" -lm  -fopenmp netcdf.dll' %(loader, sharedflag, object_files, root1, libext, fitlibs)
    330328    else:   
    331329      if libs is "":
Note: See TracChangeset for help on using the changeset viewer.