mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-09 03:38:09 +02:00
meson: Use dependency('dl') instead of cc.find_library('dl')
meson apparently has some built-in support for libdl, which depending on libc implementations may or may not be in a separate library from libc. This commit changes meson.build to do things the "better" way.
This commit is contained in:
parent
fcaa382d53
commit
6aefdea9d9
1 changed files with 2 additions and 1 deletions
|
|
@ -23,7 +23,8 @@ plymouth_runtime_theme_path = plymouth_runtime_dir / 'themes/'
|
|||
cc = meson.get_compiler('c')
|
||||
lm_dep = cc.find_library('m')
|
||||
lrt_dep = cc.find_library('rt')
|
||||
ldl_dep = cc.find_library('dl')
|
||||
|
||||
ldl_dep = dependency('dl')
|
||||
|
||||
libpng_dep = dependency('libpng', version: '>= 1.2.16')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue