Skip to content
Snippets Groups Projects
Commit 32a79468 authored by nbd's avatar nbd
Browse files

check for zlib.h as well

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4170 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent d130decc
No related branches found
No related tags found
No related merge requests found
......@@ -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, \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment