X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Fprereq-build.mk;fp=include%2Fprereq-build.mk;h=83dad0f2dc6e6bad1327f62f398d074d2a2eb0bf;hb=4a1a58a3e2d2360950ff23a05f1f55b779174d6a;hp=f4fa592a7f0fcd0bb18588543ec1f30d68ae8f95;hpb=0a182fcba6d9cb2cf74cae9114ea4770ef928f75;p=openwrt%2Fopenwrt.git diff --git a/include/prereq-build.mk b/include/prereq-build.mk index f4fa592a7f..83dad0f2dc 100644 --- a/include/prereq-build.mk +++ b/include/prereq-build.mk @@ -51,10 +51,12 @@ $(eval $(call TestHostCommand,working-g++, \ g++ -x c++ -o $(TMP_DIR)/a.out - -lstdc++ && \ $(TMP_DIR)/a.out)) +ifndef IB $(eval $(call TestHostCommand,ncurses, \ Please install ncurses. (Missing libncurses.so or ncurses.h), \ echo 'int main(int argc, char **argv) { initscr(); return 0; }' | \ gcc -include ncurses.h -x c -o $(TMP_DIR)/a.out - -lncurses)) +endif ifeq ($(HOST_OS),Linux) zlib_link_flags := -Wl,-Bstatic -lz -Wl,-Bdynamic