mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-19 06:54:58 +01:00
check for zlib.h as well
SVN-Revision: 4170
This commit is contained in:
parent
34f00bf6ef
commit
243361efaa
@ -83,7 +83,7 @@ $(eval $(call Require,working-g++, \
|
|||||||
|
|
||||||
define Require/zlib
|
define Require/zlib
|
||||||
echo 'int main(int argc, char **argv) { gzdopen(0, "rb"); return 0; }' | \
|
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
|
endef
|
||||||
|
|
||||||
$(eval $(call Require,zlib, \
|
$(eval $(call Require,zlib, \
|
||||||
|
Loading…
Reference in New Issue
Block a user