mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-18 11:38:08 +00:00
Use static lib for xml2lpc and lpc2xml
This commit is contained in:
parent
bf082a2db5
commit
3ff0ef4d0a
5 changed files with 15 additions and 10 deletions
|
|
@ -95,6 +95,11 @@ LOCAL_STATIC_LIBRARIES := \
|
|||
libeXosip2 \
|
||||
libosip2 \
|
||||
libgsm
|
||||
ifeq ($(BUILD_REMOTE_PROVISIONING),1)
|
||||
LOCAL_STATIC_LIBRARIES += \
|
||||
libxml2lpc \
|
||||
liblpc2xml
|
||||
endif
|
||||
|
||||
ifeq ($(BUILD_TUNNEL),1)
|
||||
LOCAL_CFLAGS +=-DTUNNEL_ENABLED
|
||||
|
|
|
|||
|
|
@ -39,10 +39,10 @@ LOCAL_C_INCLUDES = \
|
|||
$(LOCAL_PATH)/../../externals/build/libxml2 \
|
||||
|
||||
LOCAL_SHARED_LIBRARIES = \
|
||||
libxml2 \
|
||||
liblinphonenoneon \
|
||||
liblinphone \
|
||||
libxml2
|
||||
# liblinphonenoneon \
|
||||
# liblinphone \
|
||||
|
||||
LOCAL_MODULE := liblpc2xml
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
|
|
|
|||
|
|
@ -39,10 +39,10 @@ LOCAL_C_INCLUDES = \
|
|||
$(LOCAL_PATH)/../../externals/build/libxml2 \
|
||||
|
||||
LOCAL_SHARED_LIBRARIES = \
|
||||
libxml2 \
|
||||
liblinphonenoneon \
|
||||
liblinphone \
|
||||
libxml2
|
||||
# liblinphonenoneon \
|
||||
# liblinphone \
|
||||
|
||||
LOCAL_MODULE := libxml2lpc
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ public class Lpc2Xml {
|
|||
static {
|
||||
try {
|
||||
System.loadLibrary("xml2");
|
||||
System.loadLibrary("lpc2xml");
|
||||
//System.loadLibrary("lpc2xml");
|
||||
mAvailable = true;
|
||||
} catch (Throwable e) {
|
||||
mAvailable = false;
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ public class Xml2Lpc {
|
|||
static {
|
||||
try {
|
||||
System.loadLibrary("xml2");
|
||||
System.loadLibrary("xml2lpc");
|
||||
//System.loadLibrary("xml2lpc");
|
||||
mAvailable = true;
|
||||
} catch (Throwable e) {
|
||||
mAvailable = false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue