Use static lib for xml2lpc and lpc2xml

This commit is contained in:
Yann Diorcet 2013-04-10 14:05:20 +02:00
parent bf082a2db5
commit 3ff0ef4d0a
5 changed files with 15 additions and 10 deletions

View file

@ -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

View file

@ -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)

View file

@ -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)

View file

@ -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;

View file

@ -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;