From 368e264f92463ed5d82f522cd81927ee5b028b2d Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Mon, 9 Jun 2014 05:53:43 -0500 Subject: host needs -lresolv --- scripts/make.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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..." -- cgit v1.2.3