mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 09:58:07 +02:00
core: yet more consistent usage of libnl CFLAGS and LIBS
This patch has been used in OpenEmbedded [1] since commit b167a9a9 [2][3]. [1] http://www.openembedded.org/ [2] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/recipes/networkmanager/networkmanager/0002-respect-libnl-flags-also-in-dns-manager-vpn-manager-.patch?id=b167a9a9e55a7a493a7ee565cec9c7dd463362ff [3] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=b167a9a9e55a7a493a7ee565cec9c7dd463362ff Signed-off-by: Philip Balister <philip@balister.org>
This commit is contained in:
parent
a23f3da669
commit
0e45771126
3 changed files with 6 additions and 0 deletions
|
|
@ -19,12 +19,14 @@ libdns_manager_la_SOURCES = \
|
|||
nm-dns-utils.c
|
||||
|
||||
libdns_manager_la_CPPFLAGS = \
|
||||
$(LIBNL_CFLAGS) \
|
||||
$(DBUS_CFLAGS) \
|
||||
$(GLIB_CFLAGS) \
|
||||
-DLOCALSTATEDIR=\"$(localstatedir)\"
|
||||
|
||||
libdns_manager_la_LIBADD = \
|
||||
$(top_builddir)/src/logging/libnm-logging.la \
|
||||
$(LIBNL_LIBS) \
|
||||
$(DBUS_LIBS) \
|
||||
$(GLIB_LIBS)
|
||||
|
||||
|
|
|
|||
|
|
@ -19,10 +19,12 @@ libmodem_manager_la_SOURCES = \
|
|||
nm-modem-types.h
|
||||
|
||||
libmodem_manager_la_CPPFLAGS = \
|
||||
$(LIBNL_CFLAGS) \
|
||||
$(DBUS_CFLAGS)
|
||||
|
||||
libmodem_manager_la_LIBADD = \
|
||||
$(top_builddir)/marshallers/libmarshallers.la \
|
||||
$(top_builddir)/src/logging/libnm-logging.la \
|
||||
$(LIBNL_LIBS) \
|
||||
$(DBUS_LIBS)
|
||||
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ libvpn_manager_la_SOURCES = \
|
|||
nm-vpn-connection.h
|
||||
|
||||
libvpn_manager_la_CPPFLAGS = \
|
||||
$(LIBNL_CFLAGS) \
|
||||
$(DBUS_CFLAGS) \
|
||||
$(GLIB_CFLAGS) \
|
||||
-DG_DISABLE_DEPRECATED
|
||||
|
|
@ -30,6 +31,7 @@ libvpn_manager_la_LIBADD = \
|
|||
$(top_builddir)/marshallers/libmarshallers.la \
|
||||
$(top_builddir)/src/logging/libnm-logging.la \
|
||||
$(top_builddir)/libnm-util/libnm-util.la \
|
||||
$(LIBNL_LIBS) \
|
||||
$(DBUS_LIBS) \
|
||||
$(GLIB_LIBS)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue