summaryrefslogtreecommitdiff
blob: a15ef017fede8f62a5b68e577fda902008f98df3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- modules/Makefile.am.orig	2009-02-09 17:47:30.237896861 +0100
+++ modules/Makefile.am	2009-02-09 17:47:48.382983848 +0100
@@ -15,8 +15,8 @@
 		echo "$@ skipped."; \
 	else :;\
 	if test $(patsubst %.so,%.c, $@) -nt $@ -o ! -e $@; then \
-		echo "@CC@ @CFLAGS@ $(DEFS) $(INCLUDES) `$(ADD_BUILD_FLAGS)` -shared -fPIC $(patsubst %.so,%.c, $@) -o $@"; \
-		@CC@ @CFLAGS@ $(DEFS) $(INCLUDES) `$(ADD_BUILD_FLAGS)`  -shared -fPIC $(patsubst %.so,%.c, $@) -o $@; \
+		echo "@CC@ @CFLAGS@ $(LDFLAGS) $(DEFS) $(INCLUDES) `$(ADD_BUILD_FLAGS)` -shared -fPIC $(patsubst %.so,%.c, $@) -o $@"; \
+		@CC@ @CFLAGS@ $(LDFLAGS) $(DEFS) $(INCLUDES) `$(ADD_BUILD_FLAGS)`  -shared -fPIC $(patsubst %.so,%.c, $@) -o $@; \
 	else :; fi; \
 	fi