[vlc-devel] [PATCH] contribs: openjpeg: fix Msys2 build
Steve Lhomme
robux4 at videolabs.io
Wed Oct 26 17:35:57 CEST 2016
---
contrib/src/openjpeg/rules.mak | 3 +++
1 file changed, 3 insertions(+)
diff --git a/contrib/src/openjpeg/rules.mak b/contrib/src/openjpeg/rules.mak
index 3a29092..ba1e564 100644
--- a/contrib/src/openjpeg/rules.mak
+++ b/contrib/src/openjpeg/rules.mak
@@ -10,6 +10,9 @@ $(TARBALLS)/openjpeg-$(OPENJPEG_VERSION).tar.gz:
openjpeg: openjpeg-$(OPENJPEG_VERSION).tar.gz .sum-openjpeg
$(UNPACK)
+ifeq ($(shell uname -o),Msys)
+ dos2unix $(SRC)/openjpeg/freebsd.patch
+endif
$(APPLY) $(SRC)/openjpeg/freebsd.patch
ifdef HAVE_VISUALSTUDIO
$(APPLY) $(SRC)/openjpeg/msvc.patch
--
2.8.2
More information about the vlc-devel
mailing list