Commit 207356ea authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Contribs: dlopen crystalhd on win32

And fix unzip behaviour
(cherry picked from commit 3c5709ec)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent da32b6c6
...@@ -11,6 +11,9 @@ CRYSTAL_SOURCES := crystalhd_lgpl_includes.zip ...@@ -11,6 +11,9 @@ CRYSTAL_SOURCES := crystalhd_lgpl_includes.zip
.crystalhd: $(CRYSTAL_SOURCES) .sum-crystalhd .crystalhd: $(CRYSTAL_SOURCES) .sum-crystalhd
mkdir -p -- "$(PREFIX)/include/libcrystalhd" 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 patch -p0 -f -d $(PREFIX)/include/libcrystalhd < ../src/crystalhd/mingw.patch
touch $@ touch $@
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment