diff options
author | Rob Landley <rob@landley.net> | 2014-06-09 05:53:43 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2014-06-09 05:53:43 -0500 |
commit | 368e264f92463ed5d82f522cd81927ee5b028b2d (patch) | |
tree | 7b61bde711bd9d36c44e757c3b65c3f4fd1b239e /scripts/make.sh | |
parent | 89a62bf2907412cb562d22c875736357e314c8c8 (diff) | |
download | toybox-368e264f92463ed5d82f522cd81927ee5b028b2d.tar.gz |
host needs -lresolv
Diffstat (limited to 'scripts/make.sh')
-rwxr-xr-x | scripts/make.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/make.sh b/scripts/make.sh index 8a321ea2..f827b63e 100755 --- a/scripts/make.sh +++ b/scripts/make.sh @@ -163,7 +163,7 @@ echo "Library probe..." # that doesn't exist, so we have to detect and skip nonexistent libraries # for it. -OPTLIBS="$(for i in util crypt m; do echo "int main(int argc, char *argv[]) {return 0;}" | ${CROSS_COMPILE}${CC} $CFLAGS -xc - -o /dev/null -Wl,--as-needed -l$i > /dev/null 2>/dev/null && echo -l$i; done)" +OPTLIBS="$(for i in util crypt m resolv; do echo "int main(int argc, char *argv[]) {return 0;}" | ${CROSS_COMPILE}${CC} $CFLAGS -xc - -o /dev/null -Wl,--as-needed -l$i > /dev/null 2>/dev/null && echo -l$i; done)" echo "Compile toybox..." |