# HG changeset patch # User John Donoghue # Date 1403918482 14400 # Node ID ea8e428683fd12a25768e2ca737ba13447237d45 # Parent 6426e08a561894b7d0dce789528b0ffc0455fafb theora: if mingw build, remove EXPORTS keyword from def file * src/theroa.mk: if mingw build, remove EXPORTS keyword from def files. diff -r 6426e08a5618 -r ea8e428683fd src/theora.mk --- 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) \