projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fe5712
)
build: explicitly link in libz on non-win32 platforms
author
Ben Noordhuis
<info@bnoordhuis.nl>
Fri, 23 Sep 2011 13:40:35 +0000
(15:40 +0200)
committer
Ben Noordhuis
<info@bnoordhuis.nl>
Fri, 23 Sep 2011 13:40:35 +0000
(15:40 +0200)
wscript
patch
|
blob
|
history
diff --git
a/wscript
b/wscript
index
8224902
..
dbf93b1
100644
(file)
--- a/
wscript
+++ b/
wscript
@@
-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")