Mercurial > mxe-octave
diff src/theora.mk @ 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 | 13be64f9f16d |
children | 13d5b82424f7 |
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) \