Update tools.func
This commit is contained in:
parent
79d3bdbcef
commit
385d0dd596
@ -1782,6 +1782,13 @@ function setup_ffmpeg() {
|
||||
|
||||
$STD make -j"$(nproc)"
|
||||
$STD make install
|
||||
echo "/usr/local/lib" >/etc/ld.so.conf.d/ffmpeg.conf
|
||||
ldconfig
|
||||
|
||||
ldconfig -p | grep libavdevice >/dev/null || {
|
||||
msg_error "libavdevice not registered with dynamic linker"
|
||||
return 1
|
||||
}
|
||||
|
||||
if ! command -v ffmpeg &>/dev/null; then
|
||||
msg_error "FFmpeg installation failed"
|
||||
|
Loading…
x
Reference in New Issue
Block a user