mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
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:
parent
54f5a5ded6
commit
133b88fc63
1 changed files with 2 additions and 2 deletions
|
@ -307,9 +307,9 @@ else
|
||||||
# basic arguments
|
# basic arguments
|
||||||
embffmpeg_configure_args="--prefix=$prefix"
|
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\
|
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-encoder=flac --disable-decoder=cavs --disable-protocols --disable-devices\
|
||||||
--disable-network --disable-hwaccels --disable-filters"
|
--disable-network --disable-hwaccels --disable-filters"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue