Changeset 5819


Ignore:
Timestamp:
Jul 5, 2018 11:16:11 AM (6 years ago)
Author:
ming
Message:

Re #2059 (misc): Link AVFoundation framework for iOS build since it's required for using AVAudioSession.
Thanks to Sebastian Marek for the report.

Location:
pjproject/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/aconfigure

    r5814 r5819  
    761761oldincludedir 
    762762includedir 
    763 runstatedir 
    764763localstatedir 
    765764sharedstatedir 
     
    886885sharedstatedir='${prefix}/com' 
    887886localstatedir='${prefix}/var' 
    888 runstatedir='${localstatedir}/run' 
    889887includedir='${prefix}/include' 
    890888oldincludedir='/usr/include' 
     
    11391137    silent=yes ;; 
    11401138 
    1141   -runstatedir | --runstatedir | --runstatedi | --runstated \ 
    1142   | --runstate | --runstat | --runsta | --runst | --runs \ 
    1143   | --run | --ru | --r) 
    1144     ac_prev=runstatedir ;; 
    1145   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 
    1146   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 
    1147   | --run=* | --ru=* | --r=*) 
    1148     runstatedir=$ac_optarg ;; 
    1149  
    11501139  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 
    11511140    ac_prev=sbindir ;; 
     
    12851274                datadir sysconfdir sharedstatedir localstatedir includedir \ 
    12861275                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 
    1287                 libdir localedir mandir runstatedir 
     1276                libdir localedir mandir 
    12881277do 
    12891278  eval ac_val=\$$ac_var 
     
    14381427  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com] 
    14391428  --localstatedir=DIR     modifiable single-machine data [PREFIX/var] 
    1440   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run] 
    14411429  --libdir=DIR            object code libraries [EPREFIX/lib] 
    14421430  --includedir=DIR        C header files [PREFIX/include] 
     
    64166404        ;; 
    64176405  *-apple-darwin_ios*) 
    6418         LIBS="$LIBS -framework CoreAudio -framework CoreFoundation -framework AudioToolbox -framework CFNetwork -framework UIKit" 
     6406        LIBS="$LIBS -framework CoreAudio -framework CoreFoundation -framework AudioToolbox -framework CFNetwork -framework UIKit -framework AVFoundation" 
    64196407        ac_pjmedia_audiodev_objs="coreaudio_dev.o" 
    64206408        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... AudioUnit" >&5 
  • pjproject/trunk/aconfigure.ac

    r5814 r5819  
    715715        ;; 
    716716  *-apple-darwin_ios*) 
    717         LIBS="$LIBS -framework CoreAudio -framework CoreFoundation -framework AudioToolbox -framework CFNetwork -framework UIKit" 
     717        LIBS="$LIBS -framework CoreAudio -framework CoreFoundation -framework AudioToolbox -framework CFNetwork -framework UIKit -framework AVFoundation" 
    718718        ac_pjmedia_audiodev_objs="coreaudio_dev.o" 
    719719        AC_MSG_RESULT([Checking sound device backend... AudioUnit]) 
Note: See TracChangeset for help on using the changeset viewer.