[vlc-commits] Contribs: dlopen crystalhd on win32
Jean-Baptiste Kempf
git at videolan.org
Thu Dec 1 01:32:03 CET 2011
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Dec 1 01:30:39 2011 +0100| [3c5709ece3211ed5582e8ecc442fdbf4d5488669] | committer: Jean-Baptiste Kempf
Contribs: dlopen crystalhd on win32
And fix unzip behaviour
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3c5709ece3211ed5582e8ecc442fdbf4d5488669
---
contrib/src/crystalhd/rules.mak | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/contrib/src/crystalhd/rules.mak b/contrib/src/crystalhd/rules.mak
index 1da3107..29b0223 100644
--- a/contrib/src/crystalhd/rules.mak
+++ b/contrib/src/crystalhd/rules.mak
@@ -11,6 +11,9 @@ CRYSTAL_SOURCES := crystalhd_lgpl_includes.zip
.crystalhd: $(CRYSTAL_SOURCES) .sum-crystalhd
mkdir -p -- "$(PREFIX)/include/libcrystalhd"
- unzip $< -d "$(PREFIX)/include/libcrystalhd"
+ unzip -o $< -d "$(PREFIX)/include/libcrystalhd"
+ifdef HAVE_WIN32 # we want dlopening on win32
+ rm -rf $(PREFIX)/include/libcrystalhd/bc_drv_if.h
+endif
patch -p0 -f -d $(PREFIX)/include/libcrystalhd < ../src/crystalhd/mingw.patch
touch $@
More information about the vlc-commits
mailing list