fix: cannot load dynamic library libopenh264

main
paring 2023-05-02 22:40:24 +09:00
parent d35d933b8e
commit 61fcf3e6bd
2 changed files with 4 additions and 3 deletions

View File

@ -9,7 +9,8 @@ make distclean
./configure --disable-gpl --disable-nonfree --disable-doc --disable-network \ ./configure --disable-gpl --disable-nonfree --disable-doc --disable-network \
--disable-ffprobe --disable-ffplay --enable-static --disable-shared \ --disable-ffprobe --disable-ffplay --enable-static --disable-shared \
--enable-libopenh264 \ --enable-libopenh264 \
--prefix=$PREFIX --enable-cross-compile --arch=$ARCH --cc="clang -arch $ARCH" --prefix=$PREFIX --enable-cross-compile --arch=$ARCH --cc="clang -arch $ARCH" \
--pkg-config-flags="--static"
make -j make -j

View File

@ -24,8 +24,8 @@ make clean
make -j $args make -j $args
make install $args make install-static $args
# rm -rf $PREFIX/lib/libopenh264* # rm -rf $PREFIX/lib/libopenh264*
# wget -O $PREFIX/lib/libopenh264.dylib $OPENH264_CISCO_BINARY_URL # wget -O $PREFIX/lib/libopenh264.dylib $OPENH264_CISCO_BINARY_URL