Browse Source

Fixed linking errors due to using newer toolchain (4.9)

Martin Felis 9 years ago
parent
commit
08b116c09f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      jni/love/Android.mk

+ 1 - 0
jni/love/Android.mk

@@ -110,5 +110,6 @@ LOCAL_STATIC_LIBRARIES := libphysfs libvorbis libogg libtheora libmodplug libfre
 SDL_PATH := ../SDL2-2.0.4
 SDL_PATH := ../SDL2-2.0.4
 LOCAL_SRC_FILES += $(SDL_PATH)/src/main/android/SDL_android_main.c 
 LOCAL_SRC_FILES += $(SDL_PATH)/src/main/android/SDL_android_main.c 
 LOCAL_LDLIBS := -lz -lGLESv1_CM -lGLESv2 -ldl -landroid
 LOCAL_LDLIBS := -lz -lGLESv1_CM -lGLESv2 -ldl -landroid
+LOCAL_LDFLAGS := -Wl,--allow-multiple-definition
 
 
 include $(BUILD_SHARED_LIBRARY)
 include $(BUILD_SHARED_LIBRARY)