Skip to content

Commit 81aad02

Browse files
committed
Use new Meson-provided dl lookup
This was added in 0.62, and maybe is a bit more portable.
1 parent d835dfa commit 81aad02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ if devnull == 'not-given'
5252
endif
5353

5454
# Will only exist on Linux with older glibc.
55-
dl = cc.find_library('dl', required: false)
55+
dl = dependency('dl', required: false)
5656

5757
# With Meson >= 1.2.0, use cpp_winlibs instead of manually searching.
5858
if ['cygwin', 'windows'].contains(host_machine.system())

0 commit comments

Comments
 (0)