Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 1 | From c0b77aeb2127da821ae1c03c2f98aaf4db65277d Mon Sep 17 00:00:00 2001 |
| 2 | From: Carlos Rafael Giani <dv@pseudoterminal.org> |
| 3 | Date: Sat, 10 Sep 2016 21:15:18 +0200 |
| 4 | Subject: [PATCH] Fix missing shared object LDFLAGS |
| 5 | |
| 6 | Upstream-Status: Inappropriate (the upstream project is dead) |
| 7 | |
| 8 | Signed-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 | |
| 14 | diff --git a/interface/Makefile.in b/interface/Makefile.in |
| 15 | index 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 | |
| 27 | diff --git a/paranoia/Makefile.in b/paranoia/Makefile.in |
| 28 | index 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 | -- |
| 41 | 2.7.4 |
| 42 | |