[vlc-commits] contrib: sidplay2: fix ln -s not working on msys2

Steve Lhomme git at videolan.org
Thu May 17 15:27:34 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu May 17 13:59:02 2018 +0200| [ce9261d9283b633f93e523c233acd0595773826c] | committer: Steve Lhomme

contrib: sidplay2: fix ln -s not working on msys2

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ce9261d9283b633f93e523c233acd0595773826c
---

 contrib/src/sidplay2/rules.mak              |  1 +
 contrib/src/sidplay2/sidplay-fix-ln-s.patch | 11 +++++++++++
 2 files changed, 12 insertions(+)

diff --git a/contrib/src/sidplay2/rules.mak b/contrib/src/sidplay2/rules.mak
index 9888313732..319f770379 100644
--- a/contrib/src/sidplay2/rules.mak
+++ b/contrib/src/sidplay2/rules.mak
@@ -23,6 +23,7 @@ sidplay-libs: sidplay-libs-$(SID_VERSION).tar.gz .sum-sidplay2
 	$(APPLY) $(SRC)/sidplay2/sidplay2-smartprt.patch
 	$(APPLY) $(SRC)/sidplay2/sidplay2-noutils.patch
 	$(APPLY) $(SRC)/sidplay2/sidplay2-string.patch
+	$(APPLY) $(SRC)/sidplay2/sidplay-fix-ln-s.patch
 	$(MOVE)
 
 .sidplay2: sidplay-libs
diff --git a/contrib/src/sidplay2/sidplay-fix-ln-s.patch b/contrib/src/sidplay2/sidplay-fix-ln-s.patch
new file mode 100644
index 0000000000..88809887fd
--- /dev/null
+++ b/contrib/src/sidplay2/sidplay-fix-ln-s.patch
@@ -0,0 +1,11 @@
+--- sidplay-libs/resid/Makefile.am.ln_s	2018-05-17 13:44:08.814450800 +0200
++++ sidplay-libs/resid/Makefile.am	2018-05-17 13:44:24.333008200 +0200
+@@ -11,7 +11,7 @@ noinst_LTLIBRARIES = libresidc.la
+ noinst_HEADERS = $(resid_headers)
+ 
+ all-local:
+-	ln -sf libresidc.la libresid.la
++	$(LN_S)f libresidc.la libresid.la
+ 
+ endif
+ 



More information about the vlc-commits mailing list