mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-23 09:40:38 +01:00
build: include "config.h" in nm*enum-types.c sources
Also include the "config.h" file in the generated sources like "nm-enum-types.c".
This commit is contained in:
parent
82c37e643b
commit
0907f3c21e
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ $(1).h: $(1).h.stamp
|
|||
|
||||
$(1).c.stamp: $(_glib_enum_types_h_sources) Makefile
|
||||
$$(_GLIB_V_GEN) $$(GLIB_MKENUMS) \
|
||||
--fhead "/* Generated by glib-mkenums. Do not edit */\n\n#include \"$(notdir $(1)).h\"\n" \
|
||||
--fhead "/* Generated by glib-mkenums. Do not edit */\n\n#include \"config.h\"\n\n#include \"$(notdir $(1)).h\"\n" \
|
||||
$$(GLIB_MKENUMS_C_FLAGS) \
|
||||
$$($(_glib_enum_types_prefix)_MKENUMS_C_FLAGS) \
|
||||
--fhead "$$(foreach f,$$(filter-out Makefile,$$(^F)),\n#include \"$$(f)\")\n\n" \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue