diff options
author | Jon Lund Steffensen <jonlst@gmail.com> | 2014-04-13 22:10:34 +0200 |
---|---|---|
committer | Jon Lund Steffensen <jonlst@gmail.com> | 2014-04-20 19:36:03 +0200 |
commit | 254b1e2a5704dddb077bde88f7c273f75902ef80 (patch) | |
tree | 86eacbe4c3a6a27461d906815e8dde7529df74ce /src/Makefile.am | |
parent | redshift-gtk: Fix crash when toggling state using the status icon (diff) | |
download | redshift-ng-254b1e2a5704dddb077bde88f7c273f75902ef80.tar.gz redshift-ng-254b1e2a5704dddb077bde88f7c273f75902ef80.tar.bz2 redshift-ng-254b1e2a5704dddb077bde88f7c273f75902ef80.tar.xz |
Fix #67: Geoclue should pull in Glib as dependency
Add checks in configure.ac for Glib and pull in through Makefile.am when
Geoclue support is enabled.
Diffstat (limited to '')
-rw-r--r-- | src/Makefile.am | 5 |
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 |