forked from AuroraMiddleware/gtk
build: Remove 'name' kwarg from has_function calls
They cause warnings with later meson versions.
This commit is contained in:
parent
f483fd539e
commit
8d11e7685a
@ -189,9 +189,9 @@ gdk_sources += [
|
||||
]
|
||||
|
||||
if wayland_enabled or broadway_enabled
|
||||
if cc.has_function('shm_open', name : 'shm_open() in libc')
|
||||
if cc.has_function('shm_open')
|
||||
shmlib = []
|
||||
elif cc.has_function('shm_open', args : '-lrt', name : 'shm_open() in librt')
|
||||
elif cc.has_function('shm_open', args : '-lrt')
|
||||
shmlib = cc.find_library('rt')
|
||||
else
|
||||
shmlib = []
|
||||
|
Loading…
Reference in New Issue
Block a user