From 243361efaa79daa104b658c0ee1152b1aa05dfb6 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 19 Jul 2006 16:51:37 +0000 Subject: [PATCH] check for zlib.h as well SVN-Revision: 4170 --- openwrt/include/prereq.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openwrt/include/prereq.mk b/openwrt/include/prereq.mk index c51953b619..6b3621dbac 100644 --- a/openwrt/include/prereq.mk +++ b/openwrt/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, \ -- 2.25.1