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)
This commit is contained in:
Edward Hervey 2010-06-16 11:46:02 +02:00
parent 54f5a5ded6
commit 133b88fc63

View file

@ -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"