From 30233b48dda33ef89ccf2d40eb14afd443f18ce6 Mon Sep 17 00:00:00 2001 From: reimar Date: Fri, 20 Jul 2007 21:57:59 +0000 Subject: [PATCH] Use --static flag for pkg-config if --enable-static was used. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23837 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure b/configure index 673194ec8a..fdf7f229bb 100755 --- a/configure +++ b/configure @@ -3543,6 +3543,9 @@ fi #if darwin echocheck "pkg-config" _pkg_config=pkg-config if `$_pkg_config --version > /dev/null 2>&1`; then + if test "$_ld_static"; then + _pkg_config="$_pkg_config --static" + fi echores "yes" else _pkg_config=false