X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/c133c86f41a5be64876ad611debb189d5d8b479e..0afe2603ce9afb1e2b32d319a676a76d1a412e2e:/include/prereq.mk diff --git a/include/prereq.mk b/include/prereq.mk index c51953b61..6b3621dba 100644 --- a/include/prereq.mk +++ b/include/prereq.mk @@ -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, \