check for zlib.h as well

SVN-Revision: 4170
This commit is contained in:
Felix Fietkau 2006-07-19 16:51:37 +00:00
parent 34f00bf6ef
commit 243361efaa
1 changed files with 1 additions and 1 deletions

View 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, \