mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-09-18 15:42:15 +00:00
build/meson: fix gir dependency with building without fake-typelibs
This commit is contained in:
parent
2ad6976cd4
commit
32e989b5a7
|
@ -2,13 +2,7 @@ libnm_inc = include_directories('.')
|
|||
|
||||
sources = files('nm-libnm-utils.c')
|
||||
|
||||
if have_fake_typelibs
|
||||
subdir('fake-typelib')
|
||||
endif
|
||||
|
||||
deps = [
|
||||
# FIXME: this makes GIR mandatory?
|
||||
gir_dep,
|
||||
libnmdbus_dep,
|
||||
shared_dep
|
||||
]
|
||||
|
@ -19,6 +13,11 @@ cflags = [
|
|||
'-DNMRUNDIR="@0@"'.format(nm_pkgrundir)
|
||||
]
|
||||
|
||||
if have_fake_typelibs
|
||||
deps += [ gir_dep ]
|
||||
subdir('fake-typelib')
|
||||
endif
|
||||
|
||||
libnm_utils = static_library(
|
||||
'nm-utils',
|
||||
sources: sources,
|
||||
|
|
Loading…
Reference in a new issue