From: Måns Rullgård Date: Tue, 4 Jul 2006 23:05:14 +0000 (+0000) Subject: set flags needed for shared libs on solaris X-Git-Tag: v0.5~12511 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=813457e515852c6f4de5dec17ede129954a49ae6;p=platform%2Fupstream%2Flibav.git set flags needed for shared libs on solaris Originally committed as revision 5619 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/configure b/configure index bf58d68..3784554 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