# HG changeset patch # User John Tsiombikas # Date 1430609034 -10800 # Node ID 345db647383a75deeef8753f1b0519a0d991a90e # Parent c8826e5ebec109c2d41e6062fa9e8c3461e40609 fixed the unloadable so bug diff -r c8826e5ebec1 -r 345db647383a android/Makefile --- a/android/Makefile Fri May 01 05:58:41 2015 +0300 +++ b/android/Makefile Sun May 03 02:23:54 2015 +0300 @@ -25,11 +25,11 @@ android_usr = $(NDK)/platforms/$(android_platform)/arch-arm/usr android_inc = -I$(android_usr)/include -I$(native_app_glue_dir) -android_libs = -L$(android_usr)/lib -llog -landroid -lEGL -lGLESv1_CM +android_libs = -llog -landroid -lEGL -lGLESv1_CM -lm CFLAGS = -std=c99 -Wall -g -DAPP_NAME=\"$(name)\" \ $(android_inc) -I$(root)/src/android -I$(root)/src/gles $(incpaths) -LDFLAGS = -Wl,--fix-cortex-a8 $(android_libs) $(libpaths) +LDFLAGS = -Wl,--fix-cortex-a8 -Wl,-z,defs $(android_libs) $(libpaths) .PHONY: debug debug: $(apk-debug)