diff options
author | Thomas Haller <thaller@redhat.com> | 2016-10-22 16:23:40 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2016-10-22 17:55:15 +0200 |
commit | 7b73951b1b35b26315e789eca8abc4597992e5d2 (patch) | |
tree | e3679b228fc202d9a307c6eeff577d68b95d921f /src/nm-iface-helper.c | |
parent | f9bd72c33763fbfa6e048163987601888d2c0875 (diff) | |
download | NetworkManager-7b73951b1b35b26315e789eca8abc4597992e5d2.tar.gz |
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.
Diffstat (limited to 'src/nm-iface-helper.c')
-rw-r--r-- | src/nm-iface-helper.c | 6 |
1 files changed, 6 insertions, 0 deletions
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 @@ -547,6 +547,12 @@ main (int argc, char *argv[]) } /*****************************************************************************/ + +const NMDhcpClientFactory *const _nm_dhcp_manager_factories[3] = { + &_nm_dhcp_client_factory_internal, +}; + +/*****************************************************************************/ /* Stub functions */ void |