android: Android.mk should only preserve debug symbols in debug builds.
Fixes Bugzilla #4111.
This commit is contained in:
parent
cfcef86f4d
commit
9ddbda088a
1 changed files with 3 additions and 1 deletions
|
@ -51,7 +51,9 @@ LOCAL_SRC_FILES := \
|
||||||
LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES
|
LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES
|
||||||
LOCAL_LDLIBS := -ldl -lGLESv1_CM -lGLESv2 -llog -landroid
|
LOCAL_LDLIBS := -ldl -lGLESv1_CM -lGLESv2 -llog -landroid
|
||||||
|
|
||||||
cmd-strip :=
|
ifeq ($(NDK_DEBUG),1)
|
||||||
|
cmd-strip :=
|
||||||
|
endif
|
||||||
|
|
||||||
include $(BUILD_SHARED_LIBRARY)
|
include $(BUILD_SHARED_LIBRARY)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue