summaryrefslogtreecommitdiff
blob: 904b0f7d69d0686f8c1bea3792f1ad79d9a55ce4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Respect LDFLAGS

http://bugs.gentoo.org/show_bug.cgi?id=327335

--- a/config/autoconf.mk.in
+++ b/config/autoconf.mk.in
@@ -117,7 +117,7 @@
 
 MKSHLIB		= @MKSHLIB@
 DSO_CFLAGS	= @DSO_CFLAGS@
-DSO_LDOPTS	= @DSO_LDOPTS@
+DSO_LDOPTS	= @LDFLAGS@ @DSO_LDOPTS@
 
 RESOLVE_LINK_SYMBOLS = @RESOLVE_LINK_SYMBOLS@