r15205: Allow additional LDFLAGS, fixes #3961.
authorJelmer Vernooij <jelmer@samba.org>
Mon, 24 Apr 2006 14:59:30 +0000 (14:59 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:04:17 +0000 (14:04 -0500)
source/build/smb_build/makefile.pm

index c6ab0d7220a0156ce477b67db2f65a654447688d..636fa1fbc5719466328f049e585cbc5edf1a9dd6 100644 (file)
@@ -142,7 +142,7 @@ STLD=$self->{config}->{AR}
 STLD_FLAGS=-rc
 
 SHLD=$self->{config}->{CC}
-SHLD_FLAGS=$self->{config}->{LDSHFLAGS} -L\$(builddir)/bin
+SHLD_FLAGS=$self->{config}->{LDSHFLAGS} $self->{config}->{LDFLAGS} -L\$(builddir)/bin
 SHLIBEXT=$self->{config}->{SHLIBEXT}
 
 XSLTPROC=$self->{config}->{XSLTPROC}