summaryrefslogtreecommitdiffstats
path: root/src/liboil.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2016-01-09 00:34:58 (GMT)
committerTony Theodore <tonyt@logyst.com>2016-01-12 08:41:40 (GMT)
commitf5414c6002fdf70e1e562c83afed54fd2ed44864 (patch)
treed303b1c6bac313b776529871dfcfe3a53722f435 /src/liboil.mk
parenta449841274217582a15c11f560944853c910b30b (diff)
downloadmxe-f5414c6002fdf70e1e562c83afed54fd2ed44864.zip
mxe-f5414c6002fdf70e1e562c83afed54fd2ed44864.tar.gz
mxe-f5414c6002fdf70e1e562c83afed54fd2ed44864.tar.bz2
liboil: enable shared and x86_64-w64-mingw32 build
Diffstat (limited to 'src/liboil.mk')
-rw-r--r--src/liboil.mk17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/liboil.mk b/src/liboil.mk
index f13c776..9aad929 100644
--- a/src/liboil.mk
+++ b/src/liboil.mk
@@ -16,19 +16,20 @@ define $(PKG)_UPDATE
head -1
endef
+# liboil is in maintenance-only phase:
+# http://cgit.freedesktop.org/liboil/commit/?id=04b154aa118c0fdf244932dadc3d085f6290db7a
+
+# configure doesn't wildcard host test for x86_64
+# `as_cv_unaligned_access` so set it manually
+
define $(PKG)_BUILD
cd '$(1)' && ./configure \
- --host='$(TARGET)' \
- --prefix='$(PREFIX)/$(TARGET)' \
- --disable-shared \
+ $(MXE_CONFIGURE_OPTS) \
--disable-debug \
--disable-examples \
--mandir='$(1)/sink' \
--docdir='$(1)/sink' \
- --with-html-dir='$(1)/sink'
+ --with-html-dir='$(1)/sink' \
+ as_cv_unaligned_access=yes
$(MAKE) -C '$(1)' -j '$(JOBS)' install
endef
-
-$(PKG)_BUILD_x86_64-w64-mingw32 =
-
-$(PKG)_BUILD_SHARED =