[vlc-commits] contrib/{ebml, matroska}: ensure to build PIC libraries
Sean McGovern
git at videolan.org
Thu May 24 11:20:00 CEST 2018
vlc/vlc-3.0 | branch: master | Sean McGovern <gseanmcg at gmail.com> | Tue Apr 24 19:50:07 2018 -0400| [7d8c30c6c42419307d6035d0f9c53d199e49a67b] | committer: Jean-Baptiste Kempf
contrib/{ebml, matroska}: ensure to build PIC libraries
Signed-off-by: Steve Lhomme <robux4 at ycbcr.xyz>
(cherry picked from commit af70e446bbc80dfede3220467923ccfc8b9f66af)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=7d8c30c6c42419307d6035d0f9c53d199e49a67b
---
contrib/src/ebml/rules.mak | 2 +-
contrib/src/matroska/rules.mak | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/contrib/src/ebml/rules.mak b/contrib/src/ebml/rules.mak
index 570d5e4152..2289770895 100644
--- a/contrib/src/ebml/rules.mak
+++ b/contrib/src/ebml/rules.mak
@@ -24,6 +24,6 @@ EBML_EXTRA_FLAGS += CPPFLAGS=""
endif
.ebml: ebml toolchain.cmake
- cd $< && $(HOSTVARS) $(CMAKE) -DBUILD_SHARED_LIBS=OFF
+ cd $< && $(HOSTVARS_PIC) $(CMAKE) -DBUILD_SHARED_LIBS=OFF
cd $< && $(MAKE) install
touch $@
diff --git a/contrib/src/matroska/rules.mak b/contrib/src/matroska/rules.mak
index 1fd3ac96fa..6c2b2096f2 100644
--- a/contrib/src/matroska/rules.mak
+++ b/contrib/src/matroska/rules.mak
@@ -24,6 +24,6 @@ libmatroska: libmatroska-$(MATROSKA_VERSION).tar.xz .sum-matroska
MATROSKA_EXTRA_FLAGS = CXXFLAGS="${CXXFLAGS} -fvisibility=hidden"
.matroska: libmatroska toolchain.cmake
- cd $< && $(HOSTVARS) $(CMAKE) -DBUILD_SHARED_LIBS=OFF
+ cd $< && $(HOSTVARS_PIC) $(CMAKE) -DBUILD_SHARED_LIBS=OFF
cd $< && $(MAKE) install
touch $@
More information about the vlc-commits
mailing list