OSDN Git Service
(root)
/
android-x86
/
external-toybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c74ee8
)
Android needs -llog to link.
author
Elliott Hughes
<enh@google.com>
Fri, 28 Apr 2017 22:25:56 +0000
(15:25 -0700)
committer
Rob Landley
<rob@landley.net>
Sun, 30 Apr 2017 07:11:26 +0000
(
02:11
-0500)
scripts/make.sh
patch
|
blob
|
history
diff --git
a/scripts/make.sh
b/scripts/make.sh
index
2d33be4
..
7771cb7
100755
(executable)
--- a/
scripts/make.sh
+++ b/
scripts/make.sh
@@
-109,7
+109,7
@@
then
# for it.
> generated/optlibs.dat
- for i in util crypt m resolv selinux smack attr rt crypto z
+ for i in util crypt m resolv selinux smack attr rt crypto z
log
do
echo "int main(int argc, char *argv[]) {return 0;}" | \
${CROSS_COMPILE}${CC} $CFLAGS -xc - -o generated/libprobe -Wl,--as-needed -l$i > /dev/null 2>/dev/null &&