mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-02 10:48:02 +02:00
settings: remove libnm-glib references
Several plugins were using -I$(top_srcdir)/libnm-glib, which is bad since libnm-glib has its own nm-types.h which is different from src's. Worse yet, some were actually linking against libnm-glib (which presumably only worked at all because they weren't calling any functions in it and so the linker just ignored the request). Fix both problems.
This commit is contained in:
parent
371c68cee9
commit
b7c7832ae8
8 changed files with 1 additions and 15 deletions
|
|
@ -32,7 +32,6 @@ AM_CPPFLAGS = \
|
|||
-I$(top_srcdir)/src/posix-signals \
|
||||
-I$(top_srcdir)/src/config \
|
||||
-I$(top_srcdir)/include \
|
||||
-I$(top_srcdir)/libnm-glib \
|
||||
-I$(top_srcdir)/libnm-util \
|
||||
-I$(top_builddir)/libnm-util \
|
||||
-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
|
||||
|
|
@ -53,7 +52,6 @@ libnm_settings_plugin_ifcfg_rh_la_SOURCES = \
|
|||
libnm_settings_plugin_ifcfg_rh_la_LDFLAGS = -module -avoid-version
|
||||
libnm_settings_plugin_ifcfg_rh_la_LIBADD = \
|
||||
$(top_builddir)/libnm-util/libnm-util.la \
|
||||
$(top_builddir)/libnm-glib/libnm-glib.la \
|
||||
libifcfg-rh-io.la \
|
||||
$(GLIB_LIBS)
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@ AM_CPPFLAGS = \
|
|||
-I$(top_srcdir)/include \
|
||||
-I$(top_srcdir)/libnm-util \
|
||||
-I$(top_builddir)/libnm-util \
|
||||
-I$(top_srcdir)/libnm-glib \
|
||||
-I$(top_srcdir)/src/ \
|
||||
-I$(top_srcdir)/src/logging \
|
||||
-I$(top_srcdir)/src/platform \
|
||||
|
|
@ -31,8 +30,7 @@ AM_LDFLAGS = \
|
|||
$(CODE_COVERAGE_LDFLAGS)
|
||||
|
||||
AM_LDADD = \
|
||||
$(top_builddir)/libnm-util/libnm-util.la \
|
||||
$(top_builddir)/libnm-glib/libnm-glib.la
|
||||
$(top_builddir)/libnm-util/libnm-util.la
|
||||
|
||||
noinst_PROGRAMS = test-ifcfg-rh test-ifcfg-rh-utils
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@ AM_CPPFLAGS = \
|
|||
-I$(top_srcdir)/include \
|
||||
-I$(top_srcdir)/libnm-util \
|
||||
-I$(top_builddir)/libnm-util \
|
||||
-I$(top_srcdir)/libnm-glib \
|
||||
-DG_LOG_DOMAIN=\""NetworkManager-ifcfg-suse"\" \
|
||||
-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
|
||||
-DSYSCONFDIR=\"$(sysconfdir)\"
|
||||
|
|
@ -21,6 +20,5 @@ libnm_settings_plugin_ifcfg_suse_la_SOURCES = \
|
|||
libnm_settings_plugin_ifcfg_suse_la_LDFLAGS = -module -avoid-version
|
||||
libnm_settings_plugin_ifcfg_suse_la_LIBADD = \
|
||||
$(top_builddir)/libnm-util/libnm-util.la \
|
||||
$(top_builddir)/libnm-glib/libnm-glib.la \
|
||||
$(GLIB_LIBS)
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@ AM_CPPFLAGS = \
|
|||
-I$(top_srcdir)/src/platform \
|
||||
-I$(top_srcdir)/src/settings \
|
||||
-I$(top_srcdir)/include \
|
||||
-I$(top_srcdir)/libnm-glib \
|
||||
-I$(top_srcdir)/libnm-util \
|
||||
-I$(top_builddir)/libnm-util \
|
||||
-DG_LOG_DOMAIN=\""NetworkManager-ifnet"\" \
|
||||
|
|
@ -35,7 +34,6 @@ libnm_settings_plugin_ifnet_la_LDFLAGS = -module -avoid-version
|
|||
|
||||
libnm_settings_plugin_ifnet_la_LIBADD = \
|
||||
$(top_builddir)/libnm-util/libnm-util.la \
|
||||
$(top_builddir)/libnm-glib/libnm-glib.la \
|
||||
lib-ifnet-io.la\
|
||||
$(GLIB_LIBS) \
|
||||
$(GUDEV_LIBS)
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ if ENABLE_TESTS
|
|||
|
||||
AM_CPPFLAGS= \
|
||||
-I$(srcdir)/../ \
|
||||
-I$(top_srcdir)/libnm-glib \
|
||||
-I$(top_srcdir)/libnm-util \
|
||||
-I$(top_builddir)/libnm-util \
|
||||
-I$(top_srcdir)/include \
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@ AM_CPPFLAGS = \
|
|||
-I$(top_srcdir)/src/config \
|
||||
-I$(top_srcdir)/src/settings \
|
||||
-I$(top_srcdir)/include \
|
||||
-I$(top_srcdir)/libnm-glib \
|
||||
-I$(top_srcdir)/libnm-util \
|
||||
-I$(top_builddir)/libnm-util \
|
||||
-DG_LOG_DOMAIN=\""NetworkManager-ifupdown"\" \
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ AM_CPPFLAGS = \
|
|||
-I$(top_srcdir)/include \
|
||||
-I$(top_srcdir)/libnm-util \
|
||||
-I$(top_builddir)/libnm-util \
|
||||
-I$(top_srcdir)/libnm-glib \
|
||||
-I$(top_srcdir)/src \
|
||||
-I$(top_srcdir)/src/logging \
|
||||
-I$(top_srcdir)/src/settings \
|
||||
|
|
@ -25,7 +24,6 @@ test_ifupdown_SOURCES = \
|
|||
|
||||
test_ifupdown_LDADD = \
|
||||
$(top_builddir)/src/libNetworkManager.la \
|
||||
$(top_builddir)/libnm-glib/libnm-glib.la \
|
||||
$(top_builddir)/libnm-util/libnm-util.la \
|
||||
$(DBUS_LIBS)
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@ AM_CPPFLAGS = \
|
|||
-I$(top_srcdir)/include \
|
||||
-I$(top_srcdir)/libnm-util \
|
||||
-I$(top_builddir)/libnm-util \
|
||||
-I$(top_srcdir)/libnm-glib \
|
||||
-I$(top_srcdir)/src \
|
||||
-I$(top_srcdir)/src/logging \
|
||||
-I$(top_srcdir)/src/settings \
|
||||
|
|
@ -34,7 +33,6 @@ test_keyfile_SOURCES = \
|
|||
|
||||
test_keyfile_LDADD = \
|
||||
$(top_builddir)/src/libNetworkManager.la \
|
||||
$(top_builddir)/libnm-glib/libnm-glib.la \
|
||||
$(top_builddir)/libnm-util/libnm-util.la \
|
||||
$(DBUS_LIBS) \
|
||||
$(CODE_COVERAGE_LDFLAGS)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue