diff options
-rwxr-xr-x | aconfigure | 2 | ||||
-rw-r--r-- | aconfigure.ac | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -8424,7 +8424,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_opus_opus_repacketizer_get_size" >&5 $as_echo "$ac_cv_lib_opus_opus_repacketizer_get_size" >&6; } if test "x$ac_cv_lib_opus_opus_repacketizer_get_size" = xyes; then : - opus_present=1 && LIBS="$LIBS -lopus" + opus_present=1 && LIBS="-lopus $LIBS" fi if test "x$opus_h_present" = "x1" -a "x$opus_present" = "x1"; then diff --git a/aconfigure.ac b/aconfigure.ac index e8a6000b..b0b147ce 100644 --- a/aconfigure.ac +++ b/aconfigure.ac @@ -1823,7 +1823,7 @@ AC_ARG_ENABLE(opus, AC_SUBST(opus_h_present) AC_SUBST(opus_present) AC_CHECK_HEADER(opus/opus.h,[opus_h_present=1]) - AC_CHECK_LIB(opus,opus_repacketizer_get_size,[opus_present=1 && LIBS="$LIBS -lopus"]) + AC_CHECK_LIB(opus,opus_repacketizer_get_size,[opus_present=1 && LIBS="-lopus $LIBS"]) if test "x$opus_h_present" = "x1" -a "x$opus_present" = "x1"; then AC_MSG_RESULT([OPUS library found, OPUS support enabled]) AC_DEFINE(PJMEDIA_HAS_OPUS_CODEC,1) |