[FFmpeg-devel] [PATCH 1/3] Always create PIC objects for shared libraries under Solaris.
Diego 'Flameeyes' Pettenò
flameeyes
Sun Sep 28 17:39:29 CEST 2008
When building for Solaris, make sure PIC objects are always
created. Without PIC objects, the GNU linker will fail to link symbols
correctly, and thus create unusable libraries.
---
configure | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index fd2eb91..a60682a 100755
--- a/configure
+++ b/configure
@@ -1230,6 +1230,7 @@ case $target_os in
network_extralibs="-lnet"
fi ;;
sunos)
+ LIBOBJFLAGS='$(PIC)'
FFSERVERLDFLAGS=""
SHFLAGS='-shared -Wl,-h,$$(@F)'
network_extralibs="-lsocket -lnsl"
More information about the ffmpeg-devel
mailing list