automake: properly handle non-default expat installation
[mesa.git] / src / mesa / drivers / dri / common / Makefile.am
index 9f49ff3aee415d6082aaee64d3c0efe6ba3fb77f..7f87ed6f560afc791f9a5608f980d8f3bd4a929a 100644 (file)
@@ -27,6 +27,7 @@ AM_CFLAGS = \
        -I$(top_srcdir)/src/mapi \
        -I$(top_srcdir)/src/mesa/ \
        $(DEFINES) \
+       $(EXPAT_CFLAGS) \
        $(VISIBILITY_CFLAGS)
 
 noinst_LTLIBRARIES = \