summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/udns/files/udns-0.1-respect-LDFLAGS.patch')
-rw-r--r--net-libs/udns/files/udns-0.1-respect-LDFLAGS.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/net-libs/udns/files/udns-0.1-respect-LDFLAGS.patch b/net-libs/udns/files/udns-0.1-respect-LDFLAGS.patch
new file mode 100644
index 000000000000..c7afaf8192b2
--- /dev/null
+++ b/net-libs/udns/files/udns-0.1-respect-LDFLAGS.patch
@@ -0,0 +1,13 @@
+=== modified file 'Makefile.in'
+--- Makefile.in 2011-10-02 18:48:41 +0000
++++ Makefile.in 2011-10-02 18:50:00 +0000
+@@ -72,7 +72,7 @@
+ sharedlib: $(SOLIBV)
+
+ $(SOLIBV): $(SOBJS)
+- $(CC) -shared -Wl,--soname,$(SOLIBV) -o $@ $(SOBJS)
++ $(CC) $(LDFLAGS) -shared -Wl,--soname,$(SOLIBV) -o $@ $(SOBJS)
+ $(SOLIB): $(SOLIBV)
+ rm -f $@
+ ln -s $(SOLIBV) $@
+