summaryrefslogtreecommitdiffstats
path: root/src/theora.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/theora.mk')
-rw-r--r--src/theora.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/theora.mk b/src/theora.mk
index 5b1343b..4e0b0aa 100644
--- a/src/theora.mk
+++ b/src/theora.mk
@@ -17,10 +17,10 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
+ # https://aur.archlinux.org/packages/mi/mingw-w64-libtheora/PKGBUILD
+ $(SED) -i 's,EXPORTS,,' '$(1)/win32/xmingw32/libtheoradec-all.def'
+ $(SED) -i 's,EXPORTS,,' '$(1)/win32/xmingw32/libtheoraenc-all.def'
cd '$(1)' && ./configure \
- --host='$(TARGET)' \
- --build="`config.guess`" \
- --disable-shared \
- --prefix='$(PREFIX)/$(TARGET)'
+ $(MXE_CONFIGURE_OPTS)
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= doc_DATA=
endef