summaryrefslogtreecommitdiff
path: root/applets/brightness
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2026-01-20 12:40:00 -0500
committerVictor Kareh <[email protected]>2026-01-20 21:46:33 -0500
commited7cddce77cce03d3637a80bb057b1ff0c5855c5 (patch)
tree4d7be9230af74438e52e8fdd5def376fac668753 /applets/brightness
parentbecf37b2e138634415f1d3c5ccbf39c08c9441b8 (diff)
downloadmate-power-manager-master.tar.bz2
mate-power-manager-master.tar.xz
applets: Fix automake build errors with in-process appletsHEADmaster
Add per-target CFLAGS variables to applet Makefiles to fix build errors when objects are created with and without libtool. Fixes #416
Diffstat (limited to 'applets/brightness')
-rw-r--r--applets/brightness/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/applets/brightness/Makefile.am b/applets/brightness/Makefile.am
index f962bb3..049a6c4 100644
--- a/applets/brightness/Makefile.am
+++ b/applets/brightness/Makefile.am
@@ -33,6 +33,7 @@ libmate_brightness_applet_la_SOURCES = \
brightness-applet.c \
gpm-common.c \
gpm-common.h
+libmate_brightness_applet_la_CFLAGS = $(AM_CFLAGS)
libmate_brightness_applet_la_LDFLAGS = -module -avoid-version
libmate_brightness_applet_la_LIBADD = \
$(DBUS_LIBS) \
@@ -47,6 +48,7 @@ mate_brightness_applet_SOURCES = \
brightness-applet.c \
gpm-common.c \
gpm-common.h
+mate_brightness_applet_CFLAGS = $(AM_CFLAGS)
mate_brightness_applet_LDADD = \
$(DBUS_LIBS) \
$(CAIRO_LIBS) \