changeset 3624:ea8e428683fd

theora: if mingw build, remove EXPORTS keyword from def file * src/theroa.mk: if mingw build, remove EXPORTS keyword from def files.
author John Donoghue <john.donoghue@ieee.org>
date Fri, 27 Jun 2014 21:21:22 -0400
parents 6426e08a5618
children c86eb8093b3e
files src/theora.mk
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/theora.mk	Fri Jun 27 21:18:55 2014 -0400
+++ b/src/theora.mk	Fri Jun 27 21:21:22 2014 -0400
@@ -17,6 +17,11 @@
 endef
 
 define $(PKG)_BUILD
+   if [ "$(MXE_SYSTEM)" == "mingw" ]; then \
+       $(SED) -i 's,EXPORTS,,' '$(1)/win32/xmingw32/libtheoradec-all.def'; \
+       $(SED) -i 's,EXPORTS,,' '$(1)/win32/xmingw32/libtheoraenc-all.def'; \
+   fi
+
     cd '$(1)' && ./configure \
         $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
         $(ENABLE_SHARED_OR_STATIC) \