aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/lua/patches/050-honor-cflags.patch
blob: d221c4ee9efefdabd3ac1b93c96d26e765ecfd98 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/src/Makefile
+++ b/src/Makefile
@@ -56,7 +56,7 @@ $(LUA_A): $(CORE_O) $(LIB_O)
 	$(RANLIB) $@
 
 $(LUA_SO): $(CORE_O) $(LIB_O)
-	$(CC) -o $@.$(PKG_VERSION) -Wl,-Bsymbolic-functions -shared -Wl,-soname="$@.$(PKG_VERSION)" $?
+	$(CC) -o $@.$(PKG_VERSION) -Wl,-Bsymbolic-functions $(MYLDFLAGS) -shared -Wl,-soname="$@.$(PKG_VERSION)" $?
 	ln -fs $@.$(PKG_VERSION) $@
 
 $(LUA_T): $(LUA_O) $(LUA_SO)