Fix physfs compilation for android (still getting runtime link errors though)
authorMedo <smaxein@googlemail.com>
Wed, 30 Jan 2013 00:56:28 +0100
changeset 8461 69bd802c28f0
parent 8460 75e771c3c039
child 8463 0f39265a1604
Fix physfs compilation for android (still getting runtime link errors though)
misc/physfs/src/Android.mk
--- a/misc/physfs/src/Android.mk	Tue Jan 29 13:45:31 2013 -0500
+++ b/misc/physfs/src/Android.mk	Wed Jan 30 00:56:28 2013 +0100
@@ -6,7 +6,7 @@
 
 LOCAL_CFLAGS := -O2 -DPHYSFS_NO_CDROM_SUPPORT 
 
-LOCAL_C_INCLUDES := $(LOCAL_PATH)
+LOCAL_C_INCLUDES := $(LOCAL_PATH) $(MISC_DIR)/liblua $(MISC_DIR)/liblua $(JNI_DIR)/SDL/include
 
 LOCAL_SRC_FILES :=    physfs.c \
     physfs_byteorder.c \
@@ -26,5 +26,7 @@
     ../extras/hwpacksmounter.c \
     ../extras/physfslualoader.c \
     ../extras/physfsrwops.c \
+
+LOCAL_SHARED_LIBRARIES += SDL lua
     
 include $(BUILD_SHARED_LIBRARY)