aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-01-20 13:22:36 +0000
committerMåns Rullgård <mans@mansr.com>2010-01-20 13:22:36 +0000
commit8182dc34b336b5e4f260107f84286ecfdf4f127f (patch)
treef9f08268213ac2978f8173a3b85245c3f805fa57 /configure
parentffcc6e24f5dfa98dfcdcae39f5f85c1f5b8d52e1 (diff)
downloadffmpeg-8182dc34b336b5e4f260107f84286ecfdf4f127f.tar.gz
configure: use nm -P on Solaris
Originally committed as revision 21348 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index f9287a9daa..6edfe570f0 100755
--- a/configure
+++ b/configure
@@ -1373,6 +1373,8 @@ ranlib="ranlib"
strip="strip"
yasmexe="yasm"
+nm_opts='-g'
+
# machine
arch=$(uname -m)
cpu="generic"
@@ -2020,6 +2022,7 @@ case $target_os in
enabled x86 && SHFLAGS="-mimpure-text $SHFLAGS"
network_extralibs="-lsocket -lnsl"
add_cppflags -D__EXTENSIONS__
+ nm_opts='-P -g'
;;
netbsd)
oss_indev_extralibs="-lossaudio"
@@ -2225,7 +2228,7 @@ enabled pic && enable_pic
check_cc <<EOF || die "Symbol mangling check failed."
int ff_extern;
EOF
-sym=$($nm -g $TMPO | awk '/ff_extern/{ print substr($0, match($0, /[^ \t]*ff_extern/)) }')
+sym=$($nm $nm_opts $TMPO | awk '/ff_extern/{ print substr($0, match($0, /[^ \t]*ff_extern/)) }')
extern_prefix=${sym%%ff_extern*}
check_cc <<EOF && enable inline_asm