Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files

build: explicitly link in libz on non-win32 platforms

  • Loading branch information...
bnoordhuis committed Sep 23, 2011
1 parent 8fe5712 commit 9ad334085fc9bb4474265ce72c89da241234991e
Showing with 3 additions and 0 deletions.
  1. +3 −0 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")

0 comments on commit 9ad3340

Please sign in to comment.
You can’t perform that action at this time.