mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-07-22 02:35:25 +00:00
build: don't install NetworkManager.pc when libnm-glib is disabled
This commit is contained in:
parent
07d8431ae5
commit
bfff3ecfb0
|
@ -141,7 +141,9 @@ DISTCLEANFILES += intltool-extract intltool-merge intltool-update
|
|||
|
||||
###############################################################################
|
||||
|
||||
if WITH_LEGACY_LIBRARIES
|
||||
pkgconfig_DATA += NetworkManager.pc
|
||||
endif
|
||||
|
||||
###############################################################################
|
||||
|
||||
|
|
|
@ -276,3 +276,18 @@ run_target(
|
|||
if enable_tests
|
||||
subdir('tests')
|
||||
endif
|
||||
|
||||
pkg.generate(
|
||||
version: nm_version,
|
||||
name: nm_name,
|
||||
description: 'System for maintaining active network connection',
|
||||
filebase: nm_name,
|
||||
subdirs: nm_name,
|
||||
requires: '',
|
||||
variables: [
|
||||
'exec_prefix=${prefix}',
|
||||
'libgnome_serverdir=' + nm_libexecdir,
|
||||
'plugindir=' + nm_pkglibdir,
|
||||
'configdir=' + nm_pkgconfdir
|
||||
]
|
||||
)
|
||||
|
|
15
meson.build
15
meson.build
|
@ -853,21 +853,6 @@ if enable_docs
|
|||
subdir('docs')
|
||||
endif
|
||||
|
||||
pkg.generate(
|
||||
version: nm_version,
|
||||
name: nm_name,
|
||||
description: 'System for maintaining active network connection',
|
||||
filebase: nm_name,
|
||||
subdirs: nm_name,
|
||||
requires: '',
|
||||
variables: [
|
||||
'exec_prefix=${prefix}',
|
||||
'libgnome_serverdir=' + nm_libexecdir,
|
||||
'plugindir=' + nm_pkglibdir,
|
||||
'configdir=' + nm_pkgconfdir
|
||||
]
|
||||
)
|
||||
|
||||
config = 'config.h'
|
||||
|
||||
configure_file(
|
||||
|
|
Loading…
Reference in a new issue