aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-07-19 16:51:37 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-07-19 16:51:37 +0000
commit2af9ee02062b79ce539ad9321e08b25633233ade (patch)
tree6555b297499eb85778a581c8e8d7580013deb872
parent7016853547b79185fe08da75239035df47e9e6f5 (diff)
downloadmaster-187ad058-2af9ee02062b79ce539ad9321e08b25633233ade.tar.gz
master-187ad058-2af9ee02062b79ce539ad9321e08b25633233ade.tar.bz2
master-187ad058-2af9ee02062b79ce539ad9321e08b25633233ade.zip
check for zlib.h as well
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4170 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--include/prereq.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/prereq.mk b/include/prereq.mk
index c51953b619..6b3621dbac 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, \