mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-24 05:03:20 +02:00
check for zlib.h as well
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4170 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
d130decc3c
commit
32a794689d
@ -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, \
|
||||
|
Loading…
Reference in New Issue
Block a user