Commit 9cd6a205 authored by Edward Wang's avatar Edward Wang Committed by Rafaël Carré

contrib: Allow libebml build on Android x86

This package needs exceptions.
Signed-off-by: default avatarRafaël Carré <funman@videolan.org>
parent d593d540
...@@ -15,11 +15,15 @@ libebml: libebml-$(EBML_VERSION).tar.bz2 .sum-ebml ...@@ -15,11 +15,15 @@ libebml: libebml-$(EBML_VERSION).tar.bz2 .sum-ebml
$(APPLY) $(SRC)/ebml/no-ansi.patch $(APPLY) $(SRC)/ebml/no-ansi.patch
$(MOVE) $(MOVE)
# libebml requires exceptions
EBML_EXTRA_FLAGS = CXXFLAGS="${CXXFLAGS} -fexceptions" \
CPPFLAGS=""
.ebml: libebml .ebml: libebml
ifdef HAVE_WIN32 ifdef HAVE_WIN32
cd $< && $(MAKE) -C make/mingw32 prefix="$(PREFIX)" $(HOSTVARS) SHARED=no cd $< && $(MAKE) -C make/mingw32 prefix="$(PREFIX)" $(HOSTVARS) SHARED=no
else else
cd $< && $(MAKE) -C make/linux prefix="$(PREFIX)" $(HOSTVARS) staticlib cd $< && $(MAKE) -C make/linux prefix="$(PREFIX)" $(HOSTVARS) $(EBML_EXTRA_FLAGS) staticlib
endif endif
cd $< && $(MAKE) -C make/linux install_staticlib install_headers prefix="$(PREFIX)" $(HOSTVARS) cd $< && $(MAKE) -C make/linux install_staticlib install_headers prefix="$(PREFIX)" $(HOSTVARS)
$(RANLIB) "$(PREFIX)/lib/libebml.a" $(RANLIB) "$(PREFIX)/lib/libebml.a"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment