blob: 5298a3dcf2d04a7bbc2b3ce99d20bd1f2c41dcdd [file] [log] [blame]
Patrick Williamsddad1a12017-02-23 20:36:32 -06001From c0b77aeb2127da821ae1c03c2f98aaf4db65277d Mon Sep 17 00:00:00 2001
2From: Carlos Rafael Giani <dv@pseudoterminal.org>
3Date: Sat, 10 Sep 2016 21:15:18 +0200
4Subject: [PATCH] Fix missing shared object LDFLAGS
5
6Upstream-Status: Inappropriate (the upstream project is dead)
7
8Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
9---
10 interface/Makefile.in | 2 +-
11 paranoia/Makefile.in | 2 +-
12 2 files changed, 2 insertions(+), 2 deletions(-)
13
14diff --git a/interface/Makefile.in b/interface/Makefile.in
15index 40c6098..020bf2a 100644
16--- a/interface/Makefile.in
17+++ b/interface/Makefile.in
18@@ -46,7 +46,7 @@ libcdda_interface.a: $(OFILES)
19 $(RANLIB) libcdda_interface.a
20
21 libcdda_interface.so: $(OFILES)
22- $(CC) -fpic -shared -o libcdda_interface.so.0.$(VERSION) -Wl,-soname -Wl,libcdda_interface.so.0 $(OFILES) $(LIBS)
23+ $(CC) -fpic -shared -o libcdda_interface.so.0.$(VERSION) -Wl,-soname -Wl,libcdda_interface.so.0 $(LDFLAGS) $(OFILES) $(LIBS)
24 [ -e libcdda_interface.so.0 ] || ln -s libcdda_interface.so.0.$(VERSION) libcdda_interface.so.0
25 [ -e libcdda_interface.so ] || ln -s libcdda_interface.so.0.$(VERSION) libcdda_interface.so
26
27diff --git a/paranoia/Makefile.in b/paranoia/Makefile.in
28index 89d0328..ffb4e70 100644
29--- a/paranoia/Makefile.in
30+++ b/paranoia/Makefile.in
31@@ -44,7 +44,7 @@ libcdda_paranoia.a: $(OFILES)
32 $(RANLIB) libcdda_paranoia.a
33
34 libcdda_paranoia.so: $(OFILES)
35- $(CC) -fpic -shared -o libcdda_paranoia.so.0.$(VERSION) -Wl,-soname -Wl,libcdda_paranoia.so.0 $(OFILES) -L ../interface -lcdda_interface
36+ $(CC) -fpic -shared -o libcdda_paranoia.so.0.$(VERSION) -Wl,-soname -Wl,libcdda_paranoia.so.0 $(LDFLAGS) $(OFILES) -L ../interface -lcdda_interface
37 [ -e libcdda_paranoia.so.0 ] || ln -s libcdda_paranoia.so.0.$(VERSION) libcdda_paranoia.so.0
38 [ -e libcdda_paranoia.so ] || ln -s libcdda_paranoia.so.0.$(VERSION) libcdda_paranoia.so
39
40--
412.7.4
42