aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2006-07-04 23:05:14 +0000
committerMåns Rullgård <mans@mansr.com>2006-07-04 23:05:14 +0000
commit813457e515852c6f4de5dec17ede129954a49ae6 (patch)
treec48aaf78db538b62f11e77b246dc34025ad5d67f /configure
parent05e7e64d1ad9c0e5f4d2d9fbf11ab952960b9aef (diff)
downloadffmpeg-813457e515852c6f4de5dec17ede129954a49ae6.tar.gz
set flags needed for shared libs on solaris
Originally committed as revision 5619 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 4 insertions, 3 deletions
diff --git a/configure b/configure
index bf58d688d5..3784554054 100755
--- a/configure
+++ b/configure
@@ -502,6 +502,7 @@ dv1394="no"
make="gmake"
FFLDFLAGS=""
FFSLDFLAGS=""
+SHFLAGS="-shared -Wl,-h,\$@"
need_inet_aton="yes"
extralibs="$extralibs -lsocket -lnsl"
;;
@@ -1432,9 +1433,9 @@ fi
if test "$lshared" = "yes" ; then
# LIBOBJFLAGS may have already been set in the OS configuration
if test -z "$LIBOBJFLAGS" ; then
- if test "$cpu" = "x86_64" -o "$cpu" = "ia64" -o "$cpu" = "alpha" ; then
- LIBOBJFLAGS="\$(PIC)"
- fi
+ case "$cpu" in
+ x86_64|ia64|alpha|sparc*) LIBOBJFLAGS="\$(PIC)" ;;
+ esac
fi
fi