mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-12-02 16:27:25 +00:00
configure: fix detecting libdl when dlsym requires extra linker flags
Regression since 84b3f53aca
.
This commit is contained in:
parent
b6782a192e
commit
ede233a278
2
configure
vendored
2
configure
vendored
@ -5872,7 +5872,7 @@ enabled bzlib && check_lib bzlib bzlib.h BZ2_bzlibVersion -lbz2
|
||||
enabled lzma && check_lib lzma lzma.h lzma_version_number -llzma
|
||||
|
||||
# On some systems dynamic loading requires no extra linker flags
|
||||
check_lib libdl dlfcn.h dlopen || { check_func dlsym -ldl && check_lib libdl dlfcn.h dlopen -ldl; }
|
||||
check_lib libdl dlfcn.h "dlopen dlsym" || check_lib libdl dlfcn.h "dlopen dlsym" -ldl
|
||||
|
||||
check_lib libm math.h sin -lm && LIBM="-lm"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user