diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2011-09-23 15:40:35 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2011-09-23 15:40:35 +0200 |
commit | 9ad334085fc9bb4474265ce72c89da241234991e (patch) | |
tree | f7fe2e5a5f2f51d43cc943eb799e8a4205cf8ee2 /wscript | |
parent | 8fe5712477e94879664d5d420c72f273c0a888ff (diff) | |
download | nodejs-9ad334085fc9bb4474265ce72c89da241234991e.tar.gz nodejs-9ad334085fc9bb4474265ce72c89da241234991e.tar.bz2 nodejs-9ad334085fc9bb4474265ce72c89da241234991e.zip |
build: explicitly link in libz on non-win32 platforms
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -272,6 +272,9 @@ def configure(conf): conf.env["USE_GDBJIT"] = o.use_gdbjit + if not conf.env["USE_SHARED_ZLIB"] and not sys.platform.startswith("win32"): + conf.env.append_value("LINKFLAGS", "-lz") + conf.check(lib='dl', uselib_store='DL') if not sys.platform.startswith("sunos") and not sys.platform.startswith("cygwin") and not sys.platform.startswith("win32"): conf.env.append_value("CCFLAGS", "-rdynamic") |