From 940438fae3715547256d3cf220e886bbe972521a Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 11 Dec 2013 16:32:57 -0800 Subject: [PATCH] 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. --- src/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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