diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2018-01-15 15:35:36 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2018-01-16 12:15:51 +0100 |
commit | bfff3ecfb0ab918369a7f628b195fa1446edbd7b (patch) | |
tree | 3837d97c864296c50b1913b330712d885c1d14e0 /libnm-glib | |
parent | 07d8431ae546dc51a87463be8f1f72bac7dc526a (diff) |
build: don't install NetworkManager.pc when libnm-glib is disabled
Diffstat (limited to 'libnm-glib')
-rw-r--r-- | libnm-glib/meson.build | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libnm-glib/meson.build b/libnm-glib/meson.build index a236ec08b..eddf983e4 100644 --- a/libnm-glib/meson.build +++ b/libnm-glib/meson.build @@ -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 + ] +) |