[Ffmpeg-cvslog] r5619 - trunk/configure

mru subversion
Wed Jul 5 01:05:14 CEST 2006


Author: mru
Date: Wed Jul  5 01:05:14 2006
New Revision: 5619

Modified:
   trunk/configure

Log:
set flags needed for shared libs on solaris


Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Wed Jul  5 01:05:14 2006
@@ -502,6 +502,7 @@
 make="gmake"
 FFLDFLAGS=""
 FFSLDFLAGS=""
+SHFLAGS="-shared -Wl,-h,\$@"
 need_inet_aton="yes"
 extralibs="$extralibs -lsocket -lnsl"
 ;;
@@ -1432,9 +1433,9 @@
 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
 




More information about the ffmpeg-cvslog mailing list