packages/libs/libsml/patches/020-ldflags.patch

12 lines
271 B
Diff
Raw Normal View History

--- 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 $@ $^