add SDL as an dependency hedgeroid
authorXeli
Sun, 28 Oct 2012 15:18:26 +0100
branchhedgeroid
changeset 7861 bc7b6aa5d67a
parent 7859 519d5bc91dd3
child 7929 6e01c5134eb5
child 15532 7030706266df
add SDL as an dependency
project_files/frontlib/Android.mk
--- a/project_files/frontlib/Android.mk	Sun Oct 28 15:15:39 2012 +0100
+++ b/project_files/frontlib/Android.mk	Sun Oct 28 15:18:26 2012 +0100
@@ -4,7 +4,7 @@
 
 LOCAL_MODULE := frontlib
 
-LOCAL_CFLAGS := -I$(LOCAL_PATH)/../Android-build/SDL-android-project/jni/SDL_net -std=c99 -DWITHOUT_SDL
+LOCAL_CFLAGS := -I$(LOCAL_PATH)/../Android-build/SDL-android-project/jni/SDL_net -std=c99 -I$(LOCAL_PATH)/../Android-build/SDL-android-project/jni/SDL/include  
 
 LOCAL_SRC_FILES := base64/base64.c iniparser/iniparser.c \
 	iniparser/dictionary.c ipc/gameconn.c ipc/ipcbase.c \
@@ -16,7 +16,7 @@
 	util/logging.c util/util.c frontlib.c hwconsts.c socket.c \
 	extra/jnacontrol.c
 
-LOCAL_SHARED_LIBRARIES += SDL_net
+LOCAL_SHARED_LIBRARIES += SDL SDL_net
 LOCAL_LDLIBS += -lz
 
 include $(BUILD_SHARED_LIBRARY)