mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-07 08:28:43 +02:00
INCLUDES is the right way to add to CFLAGS, not DEFS. Also there are bugs
INCLUDES is the right way to add to CFLAGS, not DEFS. Also there are bugs with '+=' in makefiles. Got rid of DEFS line by moving G_LOG_DOMAIN setting into INCLUDES. Removed redundant -I from INCLUDES. This fixes an annoying bug where autoconf's DEFS, which includes the important -DHAVE_CONFIG_H, was lost. (due to += weirdness)
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
## Process this file with automake to produce Makefile.in
|
||||
|
||||
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/gmodule
|
||||
DEFS += -DG_LOG_DOMAIN=g_log_domain_gmodule
|
||||
INCLUDES = -I$(top_srcdir)/gmodule -DG_LOG_DOMAIN=g_log_domain_gmodule
|
||||
|
||||
EXTRA_DIST = \
|
||||
gmoduleconf.h.in \
|
||||
|
Reference in New Issue
Block a user