build/meson: fix meson build without pppd

Fixes: 1cdb36b8de
(cherry picked from commit 530b82a372)
This commit is contained in:
Thomas Haller 2018-07-09 12:02:37 +02:00
parent e117fc0b2d
commit ffcd74e9e4

View file

@ -809,6 +809,10 @@ create_pppd_cmd_line (NMPPPManager *self,
g_return_val_if_fail (setting != NULL, NULL);
#ifndef PPPD_PATH
#define PPPD_PATH NULL
#endif
pppd_binary = nm_utils_find_helper ("pppd", PPPD_PATH, err);
if (!pppd_binary)
return NULL;