mirror of https://github.com/encounter/SDL.git
Android.mk: Build android SDL2.so with `-Wl,--no-undefined`
This commit is contained in:
parent
70214ed3ed
commit
d76f0cc753
|
@ -81,6 +81,8 @@ LOCAL_CFLAGS += -Wno-unused-parameter -Wno-sign-compare
|
|||
|
||||
LOCAL_LDLIBS := -ldl -lGLESv1_CM -lGLESv2 -lOpenSLES -llog -landroid
|
||||
|
||||
LOCAL_LDFLAGS := -Wl,--no-undefined
|
||||
|
||||
ifeq ($(NDK_DEBUG),1)
|
||||
cmd-strip :=
|
||||
endif
|
||||
|
@ -99,7 +101,10 @@ LOCAL_MODULE := SDL2_static
|
|||
|
||||
LOCAL_MODULE_FILENAME := libSDL2
|
||||
|
||||
LOCAL_LDLIBS :=
|
||||
LOCAL_LDLIBS :=
|
||||
|
||||
LOCAL_LDFLAGS :=
|
||||
|
||||
LOCAL_EXPORT_LDLIBS := -ldl -lGLESv1_CM -lGLESv2 -llog -landroid
|
||||
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
|
|
Loading…
Reference in New Issue