[vlc-commits] contrib: dca: link the installed libdts to the installed libdca
Steve Lhomme
git at videolan.org
Fri May 25 15:56:47 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri May 25 15:31:26 2018 +0200| [a3f9259658969e3098773c33113d53a945919d8b] | committer: Steve Lhomme
contrib: dca: link the installed libdts to the installed libdca
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a3f9259658969e3098773c33113d53a945919d8b
---
contrib/src/dca/dca-dts-install-link.patch | 11 +++++++++++
contrib/src/dca/rules.mak | 1 +
2 files changed, 12 insertions(+)
diff --git a/contrib/src/dca/dca-dts-install-link.patch b/contrib/src/dca/dca-dts-install-link.patch
new file mode 100644
index 0000000000..88ae70fced
--- /dev/null
+++ b/contrib/src/dca/dca-dts-install-link.patch
@@ -0,0 +1,11 @@
+--- libdca/libdca/Makefile.am.dtsln 2018-05-25 15:28:10.003436800 +0200
++++ libdca/libdca/Makefile.am 2018-05-25 15:28:15.347215500 +0200
+@@ -12,7 +12,7 @@ pkgconfigdir = $(libdir)/pkgconfig
+ pkgconfig_DATA = libdca.pc libdts.pc
+
+ install-exec-hook:
+- $(LN_S)f "libdca.a" "$(DESTDIR)$(libdir)/libdts.a"
++ $(LN_S)f "$(DESTDIR)$(libdir)/libdca.a" "$(DESTDIR)$(libdir)/libdts.a"
+
+ uninstall-hook:
+ unlink "$(DESTDIR)$(libdir)/libdts.a"
diff --git a/contrib/src/dca/rules.mak b/contrib/src/dca/rules.mak
index 400bf302a2..04a2a876eb 100644
--- a/contrib/src/dca/rules.mak
+++ b/contrib/src/dca/rules.mak
@@ -21,6 +21,7 @@ libdca: libdca-$(DCA_VERSION).tar.bz2 .sum-dca
$(UNPACK)
$(UPDATE_AUTOCONFIG) && cd $(UNPACK_DIR)
$(APPLY) $(SRC)/dca/dca-fix-ln-s-call.patch
+ $(APPLY) $(SRC)/dca/dca-dts-install-link.patch
$(call pkg_static,"./libdca/libdca.pc.in")
$(MOVE)
More information about the vlc-commits
mailing list