--- ffmpeg/libavcodec/Makefile.pic 2007-01-04 08:39:57.000000000 +0100 +++ ffmpeg/libavcodec/Makefile 2007-01-04 17:15:11.000000000 +0100 @@ -5,6 +5,9 @@ include ../config.mak CFLAGS+=-I$(SRC_PATH)/libswscale $(AMR_CFLAGS) +ifneq ($(TARGET_NOPIC_STATIC_LIB), yes) +CFLAGS+=-fPIC -DPIC +endif OBJS= bitstream.o \ utils.o \ --- ffmpeg/libavformat/Makefile.pic 2007-01-04 08:39:58.000000000 +0100 +++ ffmpeg/libavformat/Makefile 2007-01-04 17:15:11.000000000 +0100 @@ -5,6 +5,9 @@ include ../config.mak CFLAGS+=-I$(SRC_PATH)/libavcodec +ifneq ($(TARGET_NOPIC_STATIC_LIB), yes) +CFLAGS+=-fPIC -DPIC +endif OBJS= utils.o cutils.o os_support.o allformats.o --- ffmpeg/libavutil/Makefile.pic 2007-01-04 08:39:54.000000000 +0100 +++ ffmpeg/libavutil/Makefile 2007-01-04 17:15:11.000000000 +0100 @@ -4,6 +4,9 @@ include ../config.mak CFLAGS+=-DBUILD_AVUTIL +ifneq ($(TARGET_NOPIC_STATIC_LIB), yes) +CFLAGS+=-fPIC -DPIC +endif OBJS= mathematics.o \ rational.o \ --- ffmpeg/configure.pic 2007-01-04 08:39:58.000000000 +0100 +++ ffmpeg/configure 2007-01-04 17:16:49.000000000 +0100 @@ -1873,6 +1873,7 @@ case "$arch" in x86_32|x86_64) echo "TARGET_ARCH_X86=yes" >> config.mak + echo "TARGET_NOPIC_STATIC_LIB=yes" >> config.mak echo "#define ARCH_X86 1" >> $TMPH ;; powerpc)