aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index e83073b..37a0308 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -59,7 +59,10 @@ endif
if ENABLE_GEOCLUE
redshift_SOURCES += location-geoclue.c location-geoclue.h
-AM_CFLAGS += $(GEOCLUE_CFLAGS) $(GEOCLUE_LIBS)
+AM_CFLAGS += \
+ $(GEOCLUE_CFLAGS) $(GEOCLUE_LIBS) \
+ $(GLIB_CFLAGS) $(GLIB_LIBS)
redshift_LDADD += \
$(GEOCLUE_LIBS) $(GEOCLUE_CFLAGS)
+ $(GLIB_LIBS) $(GLIB_CFLAGS)
endif