projects
/
openwrt
/
staging
/
jow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
90fc200
)
fix source file vs library order in a few prereq checks (#4326)
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 9 Apr 2009 21:13:15 +0000
(21:13 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 9 Apr 2009 21:13:15 +0000
(21:13 +0000)
SVN-Revision: 15181
include/prereq-build.mk
patch
|
blob
|
history
diff --git
a/include/prereq-build.mk
b/include/prereq-build.mk
index 0b396c83dd6278529d2469faa299d2d7029c82a9..4d1ae891fb39df85df56a447eb5807ad9c2311d8 100644
(file)
--- 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; }' | \
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
$(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; }' | \
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, \
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; }' | \
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, \
endef
$(eval $(call Require,zlib, \