summaryrefslogtreecommitdiffstats
path: root/libs/libsml/patches/020-ldflags.patch
blob: d6fa2e4efebbab3c0ccd584f878a5c827142a79b (plain)
1
2
3
4
5
6
7
8
9
10
11
--- 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 $@ $^