mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-07 03:10:16 +01:00
build/meson: fix gir dependency with building without fake-typelibs
This commit is contained in:
parent
2ad6976cd4
commit
32e989b5a7
1 changed files with 5 additions and 6 deletions
|
|
@ -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…
Add table
Reference in a new issue