fix: cannot load dynamic library libopenh264
parent
d35d933b8e
commit
61fcf3e6bd
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue