diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2018-08-09 21:47:35 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2018-08-15 11:35:44 +0200 |
commit | e96851673bf23098f004b26f390a6a2dbcdddebc (patch) | |
tree | 493647d7f82c0e4138a7589c38a3c2dd622dd33b | |
parent | 02c11bb3499dc2d075c095512165a3be0f735564 (diff) | |
download | NetworkManager-e96851673bf23098f004b26f390a6a2dbcdddebc.tar.gz |
build: fix meson build with -Dppp=false
meson.build:897:15: ERROR: Unknown variable "pppd_plugin_dir".
Fixes: a75ab799e4f6b9c5d6f298ad7c1899ae21726a48
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/issues/7
-rw-r--r-- | meson.build | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 0cc0621052..44944d3162 100644 --- a/meson.build +++ b/meson.build @@ -894,7 +894,9 @@ config_extra_h.set_quoted('NMSTATEDIR', nm_pkgstatedir) config_extra_h.set_quoted('NMVPNDIR', nm_vpndir) config_extra_h.set_quoted('NM_BUILD_BUILDDIR', meson.build_root()) config_extra_h.set_quoted('NM_BUILD_SRCDIR', meson.source_root()) -config_extra_h.set_quoted('PPPD_PLUGIN_DIR', pppd_plugin_dir) +if enable_ppp + config_extra_h.set_quoted('PPPD_PLUGIN_DIR', pppd_plugin_dir) +endif config_extra_h.set_quoted('PREFIX', nm_prefix) config_extra_h.set_quoted('RUNDIR', nm_pkgrundir) config_extra_h.set_quoted('RUNSTATEDIR', nm_runstatedir) |