Update build.sh
This commit is contained in:
parent
bab5f24e73
commit
512485741f
8
build.sh
8
build.sh
@ -60,10 +60,10 @@ function build_aom {
|
||||
cp -r ../aom $BUILD/include/aom
|
||||
#cmake -DAOM_CONFIG_DIR=. -DAOM_ROOT=.. -DCMAKE_INSTALL_PREFIX=@prefix@ -DCMAKE_PROJECT_NAME=aom -DCONFIG_MULTITHREAD=true -DHAVE_PTHREAD_H=false -P "../build/cmake/pkg_config.cmake"
|
||||
#sed -i "s#@prefix@#$BUILD#g" aom.pc
|
||||
#sed -i '/^Libs\.private.*/d' aom.pc
|
||||
sed -i '/^Libs\.private.*/d' aom.pc
|
||||
#sed -i 's/-lm//' aom.pc
|
||||
#cp aom.pc $BUILD/lib/pkgconfig/aom.pc
|
||||
#add_comp libaom
|
||||
cp aom.pc $BUILD/lib/pkgconfig/aom.pc
|
||||
add_comp libaom
|
||||
}
|
||||
|
||||
function build_svt {
|
||||
@ -259,8 +259,6 @@ git clone -b release/4.4 git://source.ffmpeg.org/ffmpeg.git $SRC/ffmpeg
|
||||
build_aom
|
||||
#build_libass
|
||||
|
||||
exit
|
||||
|
||||
cd $SRC/ffmpeg
|
||||
PKG_CONFIG_PATH=$BUILD/lib/pkgconfig:$PKG_CONFIG_PATH ./configure --toolchain=msvc --extra-cflags="$CFLAGS -I$BUILD/include" --extra-ldflags="-LIBPATH:$BUILD/lib" --prefix=$BUILD --pkg-config-flags="--static" --disable-doc --disable-shared --enable-static --enable-runtime-cpudetect --disable-devices --disable-demuxers --disable-decoders --disable-network --enable-w32threads --enable-gpl $COMPONENTS
|
||||
sed -i 's/\x81/ue/g' config.h
|
||||
|
Loading…
x
Reference in New Issue
Block a user