packages/libs/libsml/patches/020-ldflags.patch
jow e7bd69fd9a packages: new package libsml
Signed-off-by: Michael Heimpold <mhei@heimpold.de>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@29802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-19 15:08:02 +00:00

12 lines
271 B
Diff

--- a/sml/Makefile
+++ b/sml/Makefile
@@ -54,7 +54,7 @@ libsml: $(ST_LIB) $(OBJ_LIB)
endif
$(DYN_LIB): $(OBJS)
- $(LD) $(LIBS) -shared -soname $(SONAME) -o $@ $^
+ $(LD) $(LDFLAGS) $(LIBS) -shared -soname $(SONAME) -o $@ $^
$(OBJ_LIB): $(OBJS)
$(LD) -r -o $@ $^