summaryrefslogtreecommitdiff
blob: a5a21532d1eedd9e35d02f26f5e38bff9c3ac793 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/ext/Makefile.ext.in
+++ b/ext/Makefile.ext.in
@@ -22,7 +22,7 @@
 LIBS         = $(XLIBS) @LIBS@
 CFLAGS       = @CFLAGS@ @SHLIB_SO_CFLAGS@ $(XCFLAGS)
 CPPFLAGS     = @CPPFLAGS@ $(XCPPFLAGS)
-LDFLAGS      = $(LOCAL_LFLAGS) $(XLDFLAGS) @SHLIB_SO_LDFLAGS@
+LDFLAGS      = $(LOCAL_LFLAGS) $(XLDFLAGS) @LDFLAGS@ @SHLIB_SO_LDFLAGS@
 BUILD_GOSH_FLAGS =
 
 # These are set by configure