summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2013-12-11 16:32:57 -0800
committerEric Anholt <eric@anholt.net>2013-12-11 17:18:28 -0800
commit940438fae3715547256d3cf220e886bbe972521a (patch)
tree6b5d8a78f616fdee0a3620014f44e380ac4be725 /src
parent847ba1acdfc2c80f4e4dc5c3b69b6ff9e02af85f (diff)
Use X11_CFLAGS during the build so we find the right xlib headers.
We don't need x11_libs, because we don't directly call any xlib functions. We're just passing xlib types around.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 1d210ae..52a3840 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -23,7 +23,11 @@ AM_CPPFLAGS = \
-I$(top_builddir)/include \
$()
-AM_CFLAGS = $(CWARNFLAGS) $(VISIBILITY_CFLAGS)
+AM_CFLAGS = \
+ $(CWARNFLAGS) \
+ $(VISIBILITY_CFLAGS) \
+ $(X11_CFLAGS) \
+ $()
epoxyincludedir = $(includedir)/epoxy
lib_LTLIBRARIES = libepoxy.la