summaryrefslogtreecommitdiff
path: root/lib/libXext/src/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libXext/src/Makefile.am')
-rw-r--r--lib/libXext/src/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libXext/src/Makefile.am b/lib/libXext/src/Makefile.am
index 6a7d379cb..b9b43f7d8 100644
--- a/lib/libXext/src/Makefile.am
+++ b/lib/libXext/src/Makefile.am
@@ -1,10 +1,12 @@
lib_LTLIBRARIES=libXext.la
-AM_CFLAGS=\
+AM_CPPFLAGS=\
-I$(top_srcdir)/include \
-I$(top_srcdir)/include/X11/extensions\
$(XEXT_CFLAGS) $(MALLOC_ZERO_CFLAGS)
+AM_CFLAGS=$(CWARNFLAGS)
+
libXext_la_LDFLAGS = -version-number $(XEXT_SOREV) -no-undefined
libXext_la_LIBADD = $(XEXT_LIBS)