summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2011-10-21 13:23:21 +0200
committerSimon Josefsson <simon@josefsson.org>2011-10-21 13:23:21 +0200
commit683ccd706bc847ae2ad2420692f89eba354f8714 (patch)
tree3c698ba73feea37e3bd3e0926a4e26556f65a03b
parent28805f3560b9354cbeb6a9295f169a40c1662f26 (diff)
downloadgnutls-683ccd706bc847ae2ad2420692f89eba354f8714.tar.gz
Also add -I's for gnulib's build directory, for mingw.
Reported by "Hoyt, David" <hoyt6@llnl.gov>.
-rw-r--r--lib/Makefile.am3
-rw-r--r--lib/x509/Makefile.am1
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 5a92dbaa40..50569d0826 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -30,7 +30,8 @@ localedir = $(datadir)/locale
AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS)
AM_CPPFLAGS = \
-DLOCALEDIR=\"$(localedir)\" \
- -I$(srcdir)/../gl \
+ -I$(srcdir)/../gl \
+ -I$(builddir)/../gl \
-I$(srcdir)/includes \
-I$(srcdir)/x509
diff --git a/lib/x509/Makefile.am b/lib/x509/Makefile.am
index e37c6664fe..f5f6efff4f 100644
--- a/lib/x509/Makefile.am
+++ b/lib/x509/Makefile.am
@@ -19,6 +19,7 @@
AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS)
AM_CPPFLAGS = \
-I$(srcdir)/../../gl \
+ -I$(builddir)/../../gl \
-I$(srcdir)/../includes \
-I$(builddir)/../includes \
-I$(srcdir)/.. \