summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-07-20 21:57:59 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-07-20 21:57:59 +0000
commit30233b48dda33ef89ccf2d40eb14afd443f18ce6 (patch)
tree4d3f77a2ff691ec84ed57f70b4705039e9f6e33b /configure
parent70207b6394400e45d6af9c009214015735c72314 (diff)
downloadmpv-30233b48dda33ef89ccf2d40eb14afd443f18ce6.tar.bz2
mpv-30233b48dda33ef89ccf2d40eb14afd443f18ce6.tar.xz
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
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
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