Commits

Sepehr Taghdisian committed 522e8fe

wscript update

Comments (0)

Files changed (1)

         bld.install_files('${PREFIX}', bld.path.ant_glob('include/efsw/*.h*'), relative_trick=True)
     
     libs = []
+    defines = ['EFSW_EXPORTS', 'EFSW_DYNAMIC']
     if sys.platform != 'win32':
         libs.append('stdc++')
+    else:
+        defines.append('_WIN32')
         
     bld.shlib(
         source = files,
-        defines = ['EFSW_EXPORTS', 'EFSW_DYNAMIC'],
+        defines = defines,
         includes = ['include', 'src'],
         lib = libs,
         target = 'efsw' + bld.env.SUFFIX,