Reorg folders and use core as ffmpeg from now on
This commit is contained in:
@@ -1,20 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
EXTRA_CONF_FLAGS=(
|
||||
--disable-thread
|
||||
set -euo pipefail
|
||||
|
||||
CONF_FLAGS=(
|
||||
--prefix=$INSTALL_DIR # lib installation dir
|
||||
--host=x86-gnu # use x86 linux host
|
||||
--enable-static # build static library
|
||||
--disable-cli # disable cli build
|
||||
--disable-asm # disable assembly
|
||||
--extra-cflags="$CFLAGS" # add extra cflags
|
||||
${FFMPEG_ST:+ --disable-thread} # disable thread when FFMPEG_ST is defined
|
||||
)
|
||||
|
||||
if [[ ! -z "$FFMPEG_MT" ]]; then
|
||||
EXTRA_CONF_FLAGS=()
|
||||
fi
|
||||
|
||||
emconfigure ./configure \
|
||||
--prefix=$INSTALL_DIR \
|
||||
--host=x86-gnu \
|
||||
--enable-static \
|
||||
--disable-cli \
|
||||
--disable-asm \
|
||||
--extra-cflags="$CFLAGS" \
|
||||
${EXTRA_CONF_FLAGS[@]}
|
||||
|
||||
emconfigure ./configure "${CONF_FLAGS[@]}"
|
||||
emmake make install-lib-static -j
|
||||
|
||||
Reference in New Issue
Block a user