Commit 3c5709ec authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Contribs: dlopen crystalhd on win32

And fix unzip behaviour
parent 590e02e5
......@@ -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 $@
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