Commit 3ff0ef4d authored by Yann Diorcet's avatar Yann Diorcet
Browse files

Use static lib for xml2lpc and lpc2xml

parent bf082a2d
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment