Commit 133b88fc authored by Edward Hervey's avatar Edward Hervey 🤘

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)
parent 54f5a5de
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment