Commit 5c5cd0c3 authored by Felix Paul Kühne's avatar Felix Paul Kühne

contrib/ebml+mkv: compile with hidden symbols

This solves linking issues on iOS and should have no negative impact on further platforms

(cherry picked from commit 6031c9769a0dbd8a4f484027d5856b12ec9cc188)
parent 750b80b1
...@@ -14,10 +14,10 @@ libebml: libebml-$(EBML_VERSION).tar.bz2 .sum-ebml ...@@ -14,10 +14,10 @@ libebml: libebml-$(EBML_VERSION).tar.bz2 .sum-ebml
$(MOVE) $(MOVE)
# libebml requires exceptions # libebml requires exceptions
EBML_EXTRA_FLAGS = CXXFLAGS="${CXXFLAGS} -fexceptions" \ EBML_EXTRA_FLAGS = CXXFLAGS="${CXXFLAGS} -fexceptions -fvisibility=hidden" \
CPPFLAGS="" CPPFLAGS=""
.ebml: libebml .ebml: libebml
cd $< && $(HOSTVARS) ./configure $(HOSTCONF) cd $< && $(HOSTVARS) ./configure $(HOSTCONF) $(EBML_EXTRA_FLAGS)
cd $< && $(MAKE) install cd $< && $(MAKE) install
touch $@ touch $@
...@@ -16,7 +16,9 @@ libmatroska: libmatroska-$(MATROSKA_VERSION).tar.bz2 .sum-matroska ...@@ -16,7 +16,9 @@ libmatroska: libmatroska-$(MATROSKA_VERSION).tar.bz2 .sum-matroska
$(UNPACK) $(UNPACK)
$(MOVE) $(MOVE)
MATROSKA_EXTRA_FLAGS = CXXFLAGS="${CXXFLAGS} -fvisibility=hidden"
.matroska: libmatroska .matroska: libmatroska
cd $< && $(HOSTVARS) ./configure $(HOSTCONF) cd $< && $(HOSTVARS) ./configure $(HOSTCONF) $(MATROSKA_EXTRA_FLAGS)
cd $< && $(MAKE) install cd $< && $(MAKE) install
touch $@ touch $@
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