[vlc-commits] contrib/{ebml, matroska}: ensure to build PIC libraries
Sean McGovern
git at videolan.org
Fri Apr 27 08:21:06 CEST 2018
vlc | branch: master | Sean McGovern <gseanmcg at gmail.com> | Tue Apr 24 19:50:07 2018 -0400| [af70e446bbc80dfede3220467923ccfc8b9f66af] | committer: Steve Lhomme
contrib/{ebml, matroska}: ensure to build PIC libraries
Signed-off-by: Steve Lhomme <robux4 at ycbcr.xyz>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=af70e446bbc80dfede3220467923ccfc8b9f66af
---
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 6c4eb7d22d..4113668d84 100644
--- a/contrib/src/ebml/rules.mak
+++ b/contrib/src/ebml/rules.mak
@@ -25,6 +25,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