mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-30 12:00:11 +01:00
build: add missing GLIB_CFLAGS
The library and the include paths are dragged in with DBUS_CFLAGS but we need
more; especially the GLIB_VERSION_{MIN/MAX}_REQUIRED macros. Otherwise we get
deprecation warnings.
No master commit, since this was fixed as a side-effect of the GDBus merge.
This commit is contained in:
parent
112f3f8aca
commit
302914c010
2 changed files with 2 additions and 0 deletions
|
|
@ -16,6 +16,7 @@ AM_CPPFLAGS = \
|
|||
-DG_LOG_DOMAIN=\""NetworkManager-bluetooth"\" \
|
||||
-DNETWORKMANAGER_COMPILATION \
|
||||
-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
|
||||
$(GLIB_CFLAGS) \
|
||||
$(DBUS_CFLAGS)
|
||||
|
||||
GLIB_GENERATED = nm-bt-enum-types.h nm-bt-enum-types.c
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ AM_CPPFLAGS = \
|
|||
-DNETWORKMANAGER_COMPILATION \
|
||||
-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
|
||||
$(DBUS_CFLAGS) \
|
||||
$(GLIB_CFLAGS) \
|
||||
$(MM_GLIB_CFLAGS)
|
||||
|
||||
BUILT_SOURCES = $(null)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue