From 133b88fc63be4042355bbe9d02728cf78a584b26 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Wed, 16 Jun 2010 11:46:02 +0200 Subject: [PATCH] configure: Use --enable-pic instead of --enabled-shared Not sure when that option was added, but it does what we want (i.e. produce PIC code in .a/.la that we can then link into a shared library) --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 79f5d04a88..004c987aa2 100644 --- a/configure.ac +++ b/configure.ac @@ -307,9 +307,9 @@ else # basic arguments embffmpeg_configure_args="--prefix=$prefix" - # Enable shared and static so that we get .a files, but with PIC code. + # Enable pic and static so that we get .a files, but with PIC code. embffmpeg_configure_args="$embffmpeg_configure_args --disable-ffserver --disable-ffplay\ - --enable-postproc --enable-gpl --enable-static --enable-shared \ + --enable-postproc --enable-gpl --enable-static --enable-pic \ --disable-encoder=flac --disable-decoder=cavs --disable-protocols --disable-devices\ --disable-network --disable-hwaccels --disable-filters"