Changeset 5507


Ignore:
Timestamp:
Dec 21, 2016 8:38:41 AM (3 years ago)
Author:
nanang
Message:

re #1986: Updated missing CFLAGS/LDFLAGS in Makefile of pjsua sample app for Android.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/pjsua/android/jni/Makefile

    r5506 r5507  
    1414# Env settings, e.g: path to SWIG, JDK, java(.exe), javac(.exe) 
    1515MY_SWIG         := swig 
    16 MY_JNI_CFLAGS   := -D__ANDROID__ 
     16MY_JNI_CFLAGS   := -D__ANDROID__ -fPIC 
    1717MY_JNI_LDFLAGS  := -Wl,-soname,libpjsua.so 
    1818SWIG_FLAGS      := -D__ANDROID__ -c++ 
    1919 
    2020# Build settings 
    21 MY_CFLAGS       := $(PJ_CXXFLAGS) $(CFLAGS) 
    22 MY_LDFLAGS      := $(PJ_LDXXFLAGS) $(PJ_LDXXLIBS) $(LDFLAGS) 
     21MY_CFLAGS       := $(PJ_CXXFLAGS) $(MY_JNI_CFLAGS) $(CFLAGS) 
     22MY_LDFLAGS      := $(PJ_LDXXFLAGS) $(PJ_LDXXLIBS) $(MY_JNI_LDFLAGS) $(LDFLAGS) 
    2323MY_PACKAGE_NAME := org.pjsip.pjsua 
    2424MY_PACKAGE_PATH := ../app/src/main/java/$(subst .,/,$(MY_PACKAGE_NAME)) 
Note: See TracChangeset for help on using the changeset viewer.