Commit bbd36951 authored by mru's avatar mru

set flags needed for shared libs on solaris


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5619 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 87c5ec9e
...@@ -502,6 +502,7 @@ dv1394="no" ...@@ -502,6 +502,7 @@ dv1394="no"
make="gmake" make="gmake"
FFLDFLAGS="" FFLDFLAGS=""
FFSLDFLAGS="" FFSLDFLAGS=""
SHFLAGS="-shared -Wl,-h,\$@"
need_inet_aton="yes" need_inet_aton="yes"
extralibs="$extralibs -lsocket -lnsl" extralibs="$extralibs -lsocket -lnsl"
;; ;;
...@@ -1432,9 +1433,9 @@ fi ...@@ -1432,9 +1433,9 @@ fi
if test "$lshared" = "yes" ; then if test "$lshared" = "yes" ; then
# LIBOBJFLAGS may have already been set in the OS configuration # LIBOBJFLAGS may have already been set in the OS configuration
if test -z "$LIBOBJFLAGS" ; then if test -z "$LIBOBJFLAGS" ; then
if test "$cpu" = "x86_64" -o "$cpu" = "ia64" -o "$cpu" = "alpha" ; then case "$cpu" in
LIBOBJFLAGS="\$(PIC)" x86_64|ia64|alpha|sparc*) LIBOBJFLAGS="\$(PIC)" ;;
fi esac
fi fi
fi fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment