ref: a8a2c5eaba6cf7beeab8521d044fa4b2e703f0fa
parent: f6126a0bb8a16845b749f01f4602753ee777db87
author: Martin Storsjö <[email protected]>
date: Thu Feb 20 07:20:56 EST 2014
Move LDFLAGS specific to creating a shared library to SHLDFLAGS
--- a/build/platform-android.mk
+++ b/build/platform-android.mk
@@ -40,7 +40,8 @@
AR = $(NDKROOT)/toolchains/$(GCCPATHPREFIX)-$(GCCVERSION)/prebuilt/$(HOSTOS)-$(HOSTARCH)/bin/$(GCCPREFIX)-ar
CFLAGS += -DLINUX -fpic --sysroot=$(SYSROOT)
CXXFLAGS += -fno-rtti -fno-exceptions
-LDFLAGS += --sysroot=$(SYSROOT) -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,-soname,libwels.so
+LDFLAGS += --sysroot=$(SYSROOT)
+SHLDFLAGS = -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,-soname,libwels.so
STL_INCLUDES = \
-I$(NDKROOT)/sources/cxx-stl/gnu-libstdc++/$(GCCVERSION)/include \