comparison 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
comparison
equal deleted inserted replaced
3623:6426e08a5618 3624:ea8e428683fd
15 $(SED) -n 's,.*libtheora-\([0-9][^>]*\)\.tar.*,\1,p' | \ 15 $(SED) -n 's,.*libtheora-\([0-9][^>]*\)\.tar.*,\1,p' | \
16 head -1 16 head -1
17 endef 17 endef
18 18
19 define $(PKG)_BUILD 19 define $(PKG)_BUILD
20 if [ "$(MXE_SYSTEM)" == "mingw" ]; then \
21 $(SED) -i 's,EXPORTS,,' '$(1)/win32/xmingw32/libtheoradec-all.def'; \
22 $(SED) -i 's,EXPORTS,,' '$(1)/win32/xmingw32/libtheoraenc-all.def'; \
23 fi
24
20 cd '$(1)' && ./configure \ 25 cd '$(1)' && ./configure \
21 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ 26 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
22 $(ENABLE_SHARED_OR_STATIC) \ 27 $(ENABLE_SHARED_OR_STATIC) \
23 --prefix='$(HOST_PREFIX)' 28 --prefix='$(HOST_PREFIX)'
24 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= doc_DATA= 29 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= doc_DATA=