From 7b73951b1b35b26315e789eca8abc4597992e5d2 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Sat, 22 Oct 2016 16:23:40 +0200 Subject: build: buld nm-dhcp-manager.c as part of libNetworkMangerBase NetworkManager and nm-iface-helper compiled nm-dhcp-manager.c twice, the latter with setting -DNM_DHCP_INTERNAL_ONLY to only enable the internal plugin. Change that to compile nm-dhcp-manager.c once for both users by putting it into libNetworkManagerBase. --- src/nm-iface-helper.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/nm-iface-helper.c') diff --git a/src/nm-iface-helper.c b/src/nm-iface-helper.c index d24c3cd3cd..a64f876126 100644 --- a/src/nm-iface-helper.c +++ b/src/nm-iface-helper.c @@ -546,6 +546,12 @@ main (int argc, char *argv[]) return 0; } +/*****************************************************************************/ + +const NMDhcpClientFactory *const _nm_dhcp_manager_factories[3] = { + &_nm_dhcp_client_factory_internal, +}; + /*****************************************************************************/ /* Stub functions */ -- cgit v1.2.1