mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
meson: use dependency('dl')
Added in Meson 0.62.0. It aids in finding libdl on various platforms.
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
project('sysprof', ['c', 'cpp'],
|
||||
license: 'GPL-3.0-or-later OR GPL-2.0-or-later',
|
||||
version: '45.alpha',
|
||||
meson_version: '>=0.59.0',
|
||||
meson_version: '>=0.62.0',
|
||||
default_options: [ 'c_std=gnu17',
|
||||
'cpp_std=gnu++17',
|
||||
'warning_level=2',
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
libdl_dep = cc.find_library('dl', required: false)
|
||||
libdl_dep = dependency('dl', required: false)
|
||||
|
||||
preload_deps = [
|
||||
dependency('glib-2.0'),
|
||||
|
||||
Reference in New Issue
Block a user