[PATCH] configure: allow to link to a static lib of FreeType

KO Myung-Hun <[email protected]>
Newsgroups gmane.comp.video.mplayer.devel
Message-ID <[email protected]>
---
 configure | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure b/configure
index 1db109488..6223cd1ea 100755
--- a/configure
+++ b/configure
@@ -6330,6 +6330,7 @@ if test "$_iconv" = no ; then
 fi
 
 if test "$_freetype" = auto ; then
+    test -n "$ld_static" && _freetypeconfig="$_freetypeconfig --static"
     if ( $_freetypeconfig --version ) >/dev/null 2>&1 ; then
         cat > $TMPC << EOF
 #include <stdio.h>
-- 
2.13.3

_______________________________________________
MPlayer-dev-eng mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.