summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-04-21 15:39:03 +0200
committerraveit65 <[email protected]>2019-04-24 23:20:40 +0200
commitef81d911d22e950ff4018a153ccd6579682e4760 (patch)
tree43be9394c8b3f59b572db97cc128a1f09efb9986
parent9ae260bcd13ea5fff1c90e028a590489b7653a6e (diff)
downloadmate-session-manager-ef81d911d22e950ff4018a153ccd6579682e4760.tar.bz2
mate-session-manager-ef81d911d22e950ff4018a153ccd6579682e4760.tar.xz
Add missing CPPFLAGS for mate_session_check_accelerated helpers
-rw-r--r--tools/Makefile.am15
1 files changed, 10 insertions, 5 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 01734e5..3948006 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -37,8 +37,10 @@ mate_session_check_accelerated_gles_helper_SOURCES = \
mate_session_check_accelerated_gles_helper_CPPFLAGS = \
-DPKGDATADIR=\""$(pkgdatadir)"\" \
+ $(AM_CPPFLAGS) \
+ $(GTK3_CFLAGS) \
$(GLES_TEST_CFLAGS) \
- $(GTK3_CFLAGS)
+ $(X11_CFLAGS)
mate_session_check_accelerated_gles_helper_LDADD = \
$(GLES_TEST_LIBS) \
@@ -51,7 +53,9 @@ mate_session_check_accelerated_gl_helper_SOURCES = \
mate_session_check_accelerated_gl_helper_CPPFLAGS = \
-DPKGDATADIR=\""$(pkgdatadir)"\" \
- $(GL_TEST_CFLAGS)
+ $(AM_CPPFLAGS) \
+ $(GL_TEST_CFLAGS) \
+ $(X11_CFLAGS)
mate_session_check_accelerated_gl_helper_LDADD = \
$(GL_TEST_LIBS) \
@@ -65,11 +69,12 @@ mate_session_check_accelerated_CPPFLAGS = \
-DLIBEXECDIR=\""$(libexecdir)"\" \
$(AM_CPPFLAGS) \
$(GTK3_CFLAGS) \
- $(GL_TEST_CFLAGS)
+ $(GL_TEST_CFLAGS) \
+ $(X11_CPPFLAGS)
mate_session_check_accelerated_LDADD = \
$(GTK3_LIBS) \
- $(X11_LIBS) \
- $(GL_TEST_LIBS)
+ $(GL_TEST_LIBS) \
+ $(X11_LIBS)
-include $(top_srcdir)/git.mk