SDL: filter out c++_shared library from setEnvironment LDFLAGS
This commit is contained in:
@@ -2,7 +2,11 @@ APP_PROJECT_PATH := $(call my-dir)/..
|
||||
|
||||
include jni/Settings.mk
|
||||
|
||||
ifneq ($(filter c++_shared, $(APP_MODULES)),)
|
||||
APP_STL := c++_shared
|
||||
else
|
||||
APP_STL := none
|
||||
endif
|
||||
APP_CFLAGS := -g
|
||||
ifneq ($(NDK_DEBUG),1)
|
||||
APP_CFLAGS += -Oz -DNDEBUG # -Oz works best with clang
|
||||
|
||||
Reference in New Issue
Block a user