Skip to content

Commit

Permalink
Merge pull request #481 from cisco/feature/UTchanges
Browse files Browse the repository at this point in the history
Some fixes for android/octeon
  • Loading branch information
abkarcher authored Aug 25, 2020
2 parents b7dc2d6 + 6204463 commit d8e2689
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -10962,11 +10962,12 @@ pre_libs="$LIBS"
# script modifies LDFLAGS to correctly search for libs. we unset these changes so
# makefile.am have complete control over linker flags
pre_ldflags="$LDFLAGS"
if test "$is_freebsd" != "1" ; then
if test "$is_freebsd" != "1" && test "x$enable_offline" = "xfalse" ; then
LIBS="-ldl $LIBS"
fi
if test "x$enable_offline" != "xfalse" ; then
LDFLAGS="-static $LDFLAGS"
#Some platforms have multiple definitions. Allow them for JUST the library test stage.
LDFLAGS="-static -Wl,--allow-multiple-definition $LDFLAGS"
fi
# Search for SSL and Crypto libs, and if it doesn't fail set the make vars accordingly
if test "x$disable_app" = "xno" ; then
Expand Down
5 changes: 3 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,12 @@ pre_libs="$LIBS"
# script modifies LDFLAGS to correctly search for libs. we unset these changes so
# makefile.am have complete control over linker flags
pre_ldflags="$LDFLAGS"
if test "$is_freebsd" != "1" ; then
if test "$is_freebsd" != "1" && test "x$enable_offline" = "xfalse" ; then
LIBS="-ldl $LIBS"
fi
if test "x$enable_offline" != "xfalse" ; then
LDFLAGS="-static $LDFLAGS"
#Some platforms have multiple definitions. Allow them for JUST the library test stage.
LDFLAGS="-static -Wl,--allow-multiple-definition $LDFLAGS"
fi
# Search for SSL and Crypto libs, and if it doesn't fail set the make vars accordingly
if test "x$disable_app" = "xno" ; then
Expand Down

0 comments on commit d8e2689

Please sign in to comment.