Changeset 8704


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

Daling with linking

File:
1 edited

Legend:

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

    r8703 r8704  
    2828if NETCDF_LIB_DIR != '' :
    2929    netcdf_lib_dirs = '-L"%s" ' % NETCDF_LIB_DIR
     30
     31print 'netcdf_lib_dirs: ',netcdf_lib_dirs
    3032
    3133#NumPy ------------------------------------
     
    325327        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)
    326328      else:
    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)
     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, fitlibs)
    328330    else:   
    329331      if fitlibs is "":
    330332        s = '%s -%s %s ../utilities/quad_tree.o ../utilities/sparse_dok.o ../utilities/sparse_csr.o -o %s.%s -lm  -fopenmp -lnetcdf' %(loader, sharedflag, object_files, root1, libext)
    331333      else:
    332         s = '%s -%s %s ../utilities/quad_tree.o ../utilities/sparse_dok.o ../utilities/sparse_csr.o -o %s.%s "%s" -lm  -fopenmp -lnetcdf' %(loader, sharedflag, object_files, root1, libext, fitlibs)
     334        s = '%s -%s %s ../utilities/quad_tree.o ../utilities/sparse_dok.o ../utilities/sparse_csr.o -o %s.%s %s -lm  -fopenmp -lnetcdf' %(loader, sharedflag, object_files, root1, libext, fitlibs)
    333335  elif FN=="quad_tree_ext.c":
    334336    if libs is "":
Note: See TracChangeset for help on using the changeset viewer.