diff --git a/build/build-brotli.sh b/build/build-brotli.sh index b04096d..9ac7234 100755 --- a/build/build-brotli.sh +++ b/build/build-brotli.sh @@ -41,7 +41,7 @@ configure_build () { cd "$2/${SOFTWARE}/build-${SOFTWARE}/" checkStatus $? "change directory failed" - cmake -DCMAKE_INSTALL_PREFIX:PATH=$3 -DINSTALL_PKGCONFIG_DIR=$3/lib/pkgconfig -DCMAKE_BUILD_TYPE=Release ../${SOFTWARE} + cmake -DCMAKE_INSTALL_PREFIX:PATH=$3 -DINSTALL_PKGCONFIG_DIR=$3/lib/pkgconfig -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF ../${SOFTWARE} checkStatus $? "configuration of ${SOFTWARE} failed" } @@ -69,9 +69,6 @@ make_compile () { make install checkStatus $? "installation of ${SOFTWARE} failed" - rm $3/lib/libbrotli*.dylib - ln -s $3/lib/libbrotlidec-static.a $3/lib/libbrotlidec.a - ln -s $3/lib/libbrotlicommon-static.a $3/lib/libbrotlicommon.a } build_main () { diff --git a/build/build-libass.sh b/build/build-libass.sh index 51a3058..c839f9a 100755 --- a/build/build-libass.sh +++ b/build/build-libass.sh @@ -40,7 +40,7 @@ configure_build () { checkStatus $? "change directory failed" # prepare build - LDFLAGS="-L$3/lib -lc++ -lpng -lbz2 -lz -lbrotlidec-static -lbrotlicommon-static" ./configure --prefix="$3" --enable-static --disable-shared --disable-fontconfig --disable-dependency-tracking + LDFLAGS="-L$3/lib -lc++ -lpng -lbz2 -lz -lbrotlidec -lbrotlicommon" ./configure --prefix="$3" --enable-static --disable-shared --disable-fontconfig --disable-dependency-tracking checkStatus $? "configuration of ${SOFTWARE} failed" }