mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-25 00:21:09 +03:00
build.sh: bugfix: use LDLIBS for linking
This commit is contained in:
1 parent
4f24417d59
commit
24500483f7
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user