Ignore:
Timestamp:
Jan 14, 2010 2:46:54 PM (15 years ago)
Author:
bennylp
Message:

More #1025 (support for using external third party libraries):

  • support for using external libspeex and libgsm
  • replaced --with-pa-path with --with-external-pa
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/build.mak.in

    r3058 r3062  
    1515 
    1616ifneq (@ac_no_gsm_codec@,1) 
     17ifeq (@ac_external_gsm@,1) 
     18# External GSM library 
     19APP_THIRD_PARTY_LIBS += -lgsm 
     20APP_THIRD_PARTY_LIB_FILES += 
     21else 
    1722APP_THIRD_PARTY_LIBS += -lgsmcodec-$(TARGET_NAME) 
    1823APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libgsmcodec-$(LIB_SUFFIX) 
    1924endif 
     25endif 
    2026 
    2127ifneq (@ac_no_speex_codec@,1) 
     28ifeq (@ac_external_speex@,1) 
     29APP_THIRD_PARTY_LIBS += -lspeex -lspeexdsp 
     30APP_THIRD_PARTY_LIB_FILES += 
     31else 
    2232APP_THIRD_PARTY_LIBS += -lspeex-$(TARGET_NAME) 
    2333APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libspeex-$(LIB_SUFFIX) 
     34endif 
    2435endif 
    2536 
     
    3445endif 
    3546 
    36 ifneq (x@ac_pa_path@,x) 
    37 # We're using external PortAudio 
    38 APP_THIRD_PARTY_LIBS += -L@ac_pa_path@/lib -lportaudio 
     47ifneq ($(findstring pa,@ac_pjmedia_snd@),) 
     48ifeq (@ac_external_pa@,1) 
     49APP_THIRD_PARTY_LIBS += -lportaudio 
    3950APP_THIRD_PARTY_LIB_FILES +=  
    4051else 
    41 ifneq ($(findstring pa,@ac_pjmedia_snd@),) 
    4252APP_THIRD_PARTY_LIBS += -lportaudio-$(TARGET_NAME) 
    4353APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libportaudio-$(LIB_SUFFIX) 
Note: See TracChangeset for help on using the changeset viewer.