summaryrefslogtreecommitdiff
path: root/lib/zlib
diff options
context:
space:
mode:
Diffstat (limited to 'lib/zlib')
-rw-r--r--lib/zlib/wscript5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/zlib/wscript b/lib/zlib/wscript
index a091de6b5f..42d6f76f14 100644
--- a/lib/zlib/wscript
+++ b/lib/zlib/wscript
@@ -9,10 +9,13 @@ def configure(conf):
#else
#error "ZLIB_VERNUM < 0x1230"
#endif
+ z_stream *z;
+ inflateInit2(z, -15);
''',
headers='zlib.h',
+ lib='z',
local_include=False,
- msg='Checking for ZLIB_VERNUM >= 0x1230',
+ msg='Checking for ZLIB_VERNUM >= 0x1230 and working link to zlib',
define='HAVE_ZLIB')
# If we don't do this then we will receive an error that lib 'z'