Mercurial > hg > toybox
changeset 1343:2538fa09b1b1 draft
host needs -lresolv
author | Rob Landley <rob@landley.net> |
---|---|
date | Mon, 09 Jun 2014 05:53:43 -0500 |
parents | 3b85d2ce34aa |
children | 788c6c097fa2 |
files | scripts/make.sh |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/make.sh Mon Jun 09 05:51:04 2014 -0500 +++ b/scripts/make.sh Mon Jun 09 05:53:43 2014 -0500 @@ -163,7 +163,7 @@ # 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..."