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
This commit is contained in:
reimar 2007-07-20 21:57:59 +00:00
parent 70207b6394
commit 30233b48dd
1 changed files with 3 additions and 0 deletions

3
configure vendored
View File

@ -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