Commit af70e446 authored by Sean McGovern's avatar Sean McGovern Committed by Steve Lhomme

contrib/{ebml, matroska}: ensure to build PIC libraries

Signed-off-by: Steve Lhomme's avatarSteve Lhomme <robux4@ycbcr.xyz>
parent ef098d53
...@@ -25,6 +25,6 @@ EBML_EXTRA_FLAGS += CPPFLAGS="" ...@@ -25,6 +25,6 @@ EBML_EXTRA_FLAGS += CPPFLAGS=""
endif endif
.ebml: ebml toolchain.cmake .ebml: ebml toolchain.cmake
cd $< && $(HOSTVARS) $(CMAKE) -DBUILD_SHARED_LIBS=OFF cd $< && $(HOSTVARS_PIC) $(CMAKE) -DBUILD_SHARED_LIBS=OFF
cd $< && $(MAKE) install cd $< && $(MAKE) install
touch $@ touch $@
...@@ -24,6 +24,6 @@ libmatroska: libmatroska-$(MATROSKA_VERSION).tar.xz .sum-matroska ...@@ -24,6 +24,6 @@ libmatroska: libmatroska-$(MATROSKA_VERSION).tar.xz .sum-matroska
MATROSKA_EXTRA_FLAGS = CXXFLAGS="${CXXFLAGS} -fvisibility=hidden" MATROSKA_EXTRA_FLAGS = CXXFLAGS="${CXXFLAGS} -fvisibility=hidden"
.matroska: libmatroska toolchain.cmake .matroska: libmatroska toolchain.cmake
cd $< && $(HOSTVARS) $(CMAKE) -DBUILD_SHARED_LIBS=OFF cd $< && $(HOSTVARS_PIC) $(CMAKE) -DBUILD_SHARED_LIBS=OFF
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