mirror of
https://github.com/BtbN/FFmpeg-Builds.git
synced 2025-04-30 06:34:32 +02:00
Slim down openssl build
This commit is contained in:
parent
d4e9130c48
commit
f478b31348
@ -20,6 +20,11 @@ ffbuild_dockerbuild() {
|
|||||||
threads
|
threads
|
||||||
zlib
|
zlib
|
||||||
no-shared
|
no-shared
|
||||||
|
no-tests
|
||||||
|
no-apps
|
||||||
|
no-legacy
|
||||||
|
no-ssl2
|
||||||
|
no-ssl3
|
||||||
enable-camellia
|
enable-camellia
|
||||||
enable-ec
|
enable-ec
|
||||||
enable-srp
|
enable-srp
|
||||||
@ -61,6 +66,9 @@ ffbuild_dockerbuild() {
|
|||||||
export AR="${AR/${FFBUILD_CROSS_PREFIX}/}"
|
export AR="${AR/${FFBUILD_CROSS_PREFIX}/}"
|
||||||
export RANLIB="${RANLIB/${FFBUILD_CROSS_PREFIX}/}"
|
export RANLIB="${RANLIB/${FFBUILD_CROSS_PREFIX}/}"
|
||||||
|
|
||||||
|
# Actually allow Configure to disable apps
|
||||||
|
sed -i '/^my @disablables =/ s/$/"apps",/' Configure
|
||||||
|
|
||||||
./Configure "${myconf[@]}"
|
./Configure "${myconf[@]}"
|
||||||
|
|
||||||
sed -i -e "/^CFLAGS=/s|=.*|=${CFLAGS}|" -e "/^LDFLAGS=/s|=[[:space:]]*$|=${LDFLAGS}|" Makefile
|
sed -i -e "/^CFLAGS=/s|=.*|=${CFLAGS}|" -e "/^LDFLAGS=/s|=[[:space:]]*$|=${LDFLAGS}|" Makefile
|
||||||
|
Loading…
x
Reference in New Issue
Block a user