build.sh: bugfix: use LDLIBS for linking

This commit is contained in:
Olaf Bergmann committed 2016-06-22 15:22:32 +02:00
1 parent 4f24417d59
commit 24500483f7
1 file changed
+1 -1
+1 -1
View File
@@ -15,7 +15,7 @@ case "${PLATFORM}" in
;;
lwip) config "--disable-tests --disable-documentation --disable-examples" && \
make -C examples/lwip lwip lwip-contrib
make -C examples/lwip LDFLAGS=`grep ac_cv_search_clock_gettime=- config.log|cut -d= -f2`
make -C examples/lwip LDLIBS=`grep ac_cv_search_clock_gettime=- config.log|cut -d= -f2`
;;
posix|*) config "$WITH_TESTS --enable-documentation --enable-examples" && \
make