mirror of
https://github.com/mpv-player/mpv
synced 2025-04-25 12:50:18 +00:00
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:
parent
70207b6394
commit
30233b48dd
3
configure
vendored
3
configure
vendored
@ -3543,6 +3543,9 @@ fi #if darwin
|
|||||||
echocheck "pkg-config"
|
echocheck "pkg-config"
|
||||||
_pkg_config=pkg-config
|
_pkg_config=pkg-config
|
||||||
if `$_pkg_config --version > /dev/null 2>&1`; then
|
if `$_pkg_config --version > /dev/null 2>&1`; then
|
||||||
|
if test "$_ld_static"; then
|
||||||
|
_pkg_config="$_pkg_config --static"
|
||||||
|
fi
|
||||||
echores "yes"
|
echores "yes"
|
||||||
else
|
else
|
||||||
_pkg_config=false
|
_pkg_config=false
|
||||||
|
Loading…
Reference in New Issue
Block a user