aboutsummaryrefslogtreecommitdiff
path: root/scripts/make.sh
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2014-06-09 05:53:43 -0500
committerRob Landley <rob@landley.net>2014-06-09 05:53:43 -0500
commit368e264f92463ed5d82f522cd81927ee5b028b2d (patch)
tree7b61bde711bd9d36c44e757c3b65c3f4fd1b239e /scripts/make.sh
parent89a62bf2907412cb562d22c875736357e314c8c8 (diff)
downloadtoybox-368e264f92463ed5d82f522cd81927ee5b028b2d.tar.gz
host needs -lresolv
Diffstat (limited to 'scripts/make.sh')
-rwxr-xr-xscripts/make.sh2
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..."