[vlc-commits] Contribs: pass pic options at zlib

Jean-Baptiste Kempf git at videolan.org
Wed Jun 29 08:44:39 CEST 2016


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Jun 29 08:44:06 2016 +0200| [251e70a574c88b940bd0af0b5fb2372eb1725383] | committer: Jean-Baptiste Kempf

Contribs: pass pic options at zlib

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=251e70a574c88b940bd0af0b5fb2372eb1725383
---

 contrib/src/zlib/rules.mak |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/src/zlib/rules.mak b/contrib/src/zlib/rules.mak
index 8c903f3..e88ac51 100644
--- a/contrib/src/zlib/rules.mak
+++ b/contrib/src/zlib/rules.mak
@@ -31,7 +31,7 @@ ifdef HAVE_WIN32
 	cd $< && $(HOSTVARS) $(MAKE) -fwin32/Makefile.gcc $(HOSTVARS) $(ZLIB_CONFIG_VARS) CFLAGS="$(CFLAGS) $(ZLIB_ECFLAGS)" RC="$(HOST)-windres" LD="$(CC)"
 	cd $< && $(MAKE) -fwin32/Makefile.gcc install INCLUDE_PATH="$(PREFIX)/include" LIBRARY_PATH="$(PREFIX)/lib" BINARY_PATH="$(PREFIX)/bin"
 else
-	cd $< && $(HOSTVARS) $(ZLIB_CONFIG_VARS) CFLAGS="$(CFLAGS) $(ZLIB_ECFLAGS)" ./configure --prefix=$(PREFIX) --static
+	cd $< && $(HOSTVARS_PIC) $(ZLIB_CONFIG_VARS) CFLAGS="$(CFLAGS) $(ZLIB_ECFLAGS)" ./configure --prefix=$(PREFIX)
 	cd $< && $(MAKE) install
 endif
 	touch $@



More information about the vlc-commits mailing list