Skip to content
Snippets Groups Projects
Commit 813457e5 authored by Måns Rullgård's avatar Måns Rullgård
Browse files

set flags needed for shared libs on solaris

Originally committed as revision 5619 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 05e7e64d
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment