diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-04-09 21:13:15 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-04-09 21:13:15 +0000 |
commit | 4e49486b3cc6a4bb92c8762f0999c827393c00fb (patch) | |
tree | 294eedc9191191544c9b3c00e89695c5bb948730 /include/prereq-build.mk | |
parent | 90fc200a60126a79cf82c0d3d0941f161b14673e (diff) | |
download | upstream-4e49486b3cc6a4bb92c8762f0999c827393c00fb.tar.gz upstream-4e49486b3cc6a4bb92c8762f0999c827393c00fb.tar.bz2 upstream-4e49486b3cc6a4bb92c8762f0999c827393c00fb.zip |
fix source file vs library order in a few prereq checks (#4326)
SVN-Revision: 15181
Diffstat (limited to 'include/prereq-build.mk')
-rw-r--r-- | include/prereq-build.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/prereq-build.mk b/include/prereq-build.mk index 0b396c83dd..4d1ae891fb 100644 --- a/include/prereq-build.mk +++ b/include/prereq-build.mk @@ -62,7 +62,7 @@ $(eval $(call Require,working-gcc, \ define Require/working-g++ echo 'int main(int argc, char **argv) { return 0; }' | \ - g++ -x c++ -o $(TMP_DIR)/a.out -lstdc++ - && \ + g++ -x c++ -o $(TMP_DIR)/a.out - -lstdc++ && \ $(TMP_DIR)/a.out endef @@ -72,7 +72,7 @@ $(eval $(call Require,working-g++, \ define Require/ncurses echo 'int main(int argc, char **argv) { initscr(); return 0; }' | \ - gcc -include ncurses.h -x c -o $(TMP_DIR)/a.out -lncurses - + gcc -include ncurses.h -x c -o $(TMP_DIR)/a.out - -lncurses endef $(eval $(call Require,ncurses, \ @@ -82,7 +82,7 @@ $(eval $(call Require,ncurses, \ define Require/zlib echo 'int main(int argc, char **argv) { gzdopen(0, "rb"); return 0; }' | \ - gcc -include zlib.h -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, \ |