git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build: a more robust zlib test
[ira/wip.git]
/
lib
/
zlib
/
wscript
diff --git
a/lib/zlib/wscript
b/lib/zlib/wscript
index a091de6b5f10ce8c499ef265aa6d1171d6516822..42d6f76f149e52244ae8ef9c1213f4467cb14081 100644
(file)
--- a/
lib/zlib/wscript
+++ b/
lib/zlib/wscript
@@
-9,10
+9,13
@@
def configure(conf):
#else
#error "ZLIB_VERNUM < 0x1230"
#endif
#else
#error "ZLIB_VERNUM < 0x1230"
#endif
+ z_stream *z;
+ inflateInit2(z, -15);
''',
headers='zlib.h',
''',
headers='zlib.h',
+ lib='z',
local_include=False,
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'
define='HAVE_ZLIB')
# If we don't do this then we will receive an error that lib 'z'