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.
macos/v1.5.9
Eric Anholt 11 years ago
parent 847ba1acdf
commit 940438fae3
  1. 6
      src/Makefile.am

@ -23,7 +23,11 @@ AM_CPPFLAGS = \
-I$(top_builddir)/include \ -I$(top_builddir)/include \
$() $()
AM_CFLAGS = $(CWARNFLAGS) $(VISIBILITY_CFLAGS) AM_CFLAGS = \
$(CWARNFLAGS) \
$(VISIBILITY_CFLAGS) \
$(X11_CFLAGS) \
$()
epoxyincludedir = $(includedir)/epoxy epoxyincludedir = $(includedir)/epoxy
lib_LTLIBRARIES = libepoxy.la lib_LTLIBRARIES = libepoxy.la

Loading…
Cancel
Save