Changeset 5391


Ignore:
Timestamp:
Jul 20, 2016 5:21:51 AM (3 years ago)
Author:
nanang
Message:

Misc (re #1928): Fixed build error in Android SWIG wrapper after modification r5389 (using --sysroot instead of -I in CFLAGS).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/swig/java/Makefile

    r5263 r5391  
    127127MY_JAVA          := "$(JAVA_BIN)/java" 
    128128MY_JAVAC         := "$(JAVA_BIN)/javac" 
    129 MY_JNI_CFLAGS    := -I"$(JAVA_INC)" -I"$(JAVA_INC)/win32" \ 
     129ifneq ($(OS),android) 
     130  MY_JNI_CFLAGS  := -I"$(JAVA_INC)" -I"$(JAVA_INC)/win32" \ 
    130131                    -I"$(JAVA_INC)/linux" -I"$(JAVA_INC)/darwin" -I. 
    131 MY_JNI_LDFLAGS   := -L"$(JAVA_LIB)" 
     132  MY_JNI_LDFLAGS := -L"$(JAVA_LIB)" 
     133endif 
    132134 
    133135# OS specific 
Note: See TracChangeset for help on using the changeset viewer.