summaryrefslogtreecommitdiff
blob: a9de4114d2bf8f12d39c7a0079f5f124ad769cf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- Gauche-0.9.1.orig/ext/Makefile.ext.in
+++ Gauche-0.9.1/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@
 
 # These are set by configure
 DEFS     = @DEFS@