Changeset 5355


Ignore:
Timestamp:
Jun 24, 2016 9:28:08 AM (8 years ago)
Author:
nanang
Message:

Misc (re #1928): Fixed possible linking errors with Opus codec due to library dependency order issue, this only happens on some platforms, e.g: Android NDK r10e.

Location:
pjproject/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/aconfigure

    r5348 r5355  
    84258425$as_echo "$ac_cv_lib_opus_opus_repacketizer_get_size" >&6; } 
    84268426if test "x$ac_cv_lib_opus_opus_repacketizer_get_size" = xyes; then : 
    8427   opus_present=1 && LIBS="$LIBS -lopus" 
     8427  opus_present=1 && LIBS="-lopus $LIBS" 
    84288428fi 
    84298429 
  • pjproject/trunk/aconfigure.ac

    r5348 r5355  
    18241824                AC_SUBST(opus_present) 
    18251825                AC_CHECK_HEADER(opus/opus.h,[opus_h_present=1]) 
    1826                 AC_CHECK_LIB(opus,opus_repacketizer_get_size,[opus_present=1 && LIBS="$LIBS -lopus"]) 
     1826                AC_CHECK_LIB(opus,opus_repacketizer_get_size,[opus_present=1 && LIBS="-lopus $LIBS"]) 
    18271827                if test "x$opus_h_present" = "x1" -a "x$opus_present" = "x1"; then 
    18281828                        AC_MSG_RESULT([OPUS library found, OPUS support enabled]) 
Note: See TracChangeset for help on using the changeset viewer.