diff options
author | Mattias Andrée <m@maandree.se> | 2025-03-04 21:33:11 +0100 |
---|---|---|
committer | Mattias Andrée <m@maandree.se> | 2025-03-04 21:33:11 +0100 |
commit | 8029d8a38c1d908c730e40affb608b8eab3c796c (patch) | |
tree | 958dfd4c815a32b79af5727e54bbfeb737212282 /src | |
parent | Unlist redshift/issues/871: reporter was probably using wayland (diff) | |
download | redshift-ng-8029d8a38c1d908c730e40affb608b8eab3c796c.tar.gz redshift-ng-8029d8a38c1d908c730e40affb608b8eab3c796c.tar.bz2 redshift-ng-8029d8a38c1d908c730e40affb608b8eab3c796c.tar.xz |
add definitions needed to enable operation
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'src')
-rw-r--r-- | src/config.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/config.mk b/src/config.mk index f8f7751..0b35989 100644 --- a/src/config.mk +++ b/src/config.mk @@ -8,6 +8,7 @@ GEOCLUE_LIBS = glib-2.0 gio-2.0 RANDR_LIBS = xcb xcb-randr VIDMODE_LIBS = x11 xxf86vm -CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_GNU_SOURCE +CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_GNU_SOURCE\ + -DENABLE_DRM -DENABLE_GEOCLUE2 -DENABLE_RANDR -DENABLE_VIDMODE CFLAGS = $$(pkg-config --cflags $(DRM_LIBS) $(GEOCLUE_LIBS) $(RANDR_LIBS) $(VIDMODE_LIBS)) LDFLAGS = $$(pkg-config --libs $(DRM_LIBS) $(GEOCLUE_LIBS) $(RANDR_LIBS) $(VIDMODE_LIBS)) -lm |