check for zlib.h as well
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 19 Jul 2006 16:51:37 +0000 (16:51 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 19 Jul 2006 16:51:37 +0000 (16:51 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4170 3c298f89-4303-0410-b956-a3cf2f4a3e73

include/prereq.mk

index c51953b..6b3621d 100644 (file)
@@ -83,7 +83,7 @@ $(eval $(call Require,working-g++, \
 
 define Require/zlib
        echo 'int main(int argc, char **argv) { gzdopen(0, "rb"); return 0; }' | \
-               gcc -x c -o $(TMP_DIR)/a.out -lz -
+               gcc -include zlib.h -x c -o $(TMP_DIR)/a.out -lz -
 endef
 
 $(eval $(call Require,zlib, \
This page took 0.02308 seconds and 4 git commands to generate.