Changeset 4468 for pjproject/trunk


Ignore:
Timestamp:
Apr 15, 2013 10:37:59 AM (12 years ago)
Author:
bennylp
Message:

Re #1657: BB Integration:

  • The configure-bb10 now outputs pjsip.pri to be included by application's .pro file in order to get PJSIP's settings included in the app's project
  • The configure-bb10 now also sets PJ_CONFIG_BB10 macro for platform detection by lib/app
Location:
pjproject/trunk
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/configure-bb10

    r4256 r4468  
    3434LD="${QNX_HOST}/usr/bin/nto${TARGET_ARCH}-ld "  
    3535export LDFLAGS=" -L${QNX_TARGET}/${LIBDIR}/usr/lib -L${QNX_TARGET}/${LIBDIR}/lib -L${QNX_HOST}/usr/lib/gcc/${TARGET_HOST}/4.6.3 -lgcc -lasound -laudio_manager" 
    36 export CFLAGS=" -g -fPIC -DPJMEDIA_AUDIO_DEV_HAS_BB10=1 "  
     36export CFLAGS=" -g -fPIC -DPJ_CONFIG_BB10=1 -DPJMEDIA_AUDIO_DEV_HAS_BB10=1"  
    3737 
     38# Invoke configure 
    3839./configure --host=${TARGET_HOST} --disable-oss $* 
     40RETVAL=$? 
     41 
     42# Write to pjsip.pri only if configure was successful 
     43if test $RETVAL -eq 0; then 
     44        echo "# Config file to be included in app's .pro file" > pjsip.pri 
     45        echo "# Auto-generated by 'configure-bb10 $*'" >> pjsip.pri 
     46        make -f bb10-config.mak >> pjsip.pri 
     47fi 
     48 
     49 
Note: See TracChangeset for help on using the changeset viewer.