File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ if test "x_$openssl_location" != "x_no"; then
167167 AC_CHECK_HEADERS([openssl/ssl.h],,AC_MSG_ERROR([Unable to find the OpenSSL headers]))
168168 # Check for OpenSSL library
169169 LIBS_SAVED="$LIBS"
170- LIBS="$LIBS_SAVED -lssl -lcrypto"
170+ LIBS="-lssl -lcrypto $LIBS_SAVED "
171171 AC_MSG_CHECKING(linking with openssl)
172172 AC_TRY_LINK([#include <openssl/ssl.h>],[ SSL_library_init(); return(0); ],
173173 [ AC_MSG_RESULT(ok) ],
Original file line number Diff line number Diff line change @@ -85,7 +85,8 @@ case "$build_os" in
8585*)
8686 # Other (Linux): GCC compiler
8787 CPPFLAGS = "$CPPFLAGS -pthread -D_REENTRANT"
88- LDFLAGS = "$LDFLAGS -pthread -lrt -ldl -Wl,-E"
88+ LDFLAGS = "$LDFLAGS -pthread -Wl,-E"
89+ LIBS = "-lrt -ldl"
8990 PION_OPT_FLAGS = "-O2 -ggdb -Wall -Wno-strict-aliasing -DNDEBUG"
9091 PION_DEBUG_FLAGS = "-O0 -ggdb -Wall -Wno-strict-aliasing -fkeep-inline-functions"
9192 ;;
You can’t perform that action at this time.
0 commit comments