Ver código fonte

dselect: Add builddir to the quoted include search path

The curkeys.h file gets generated at build time, and if we use an out
of tree build directory, it cannot be found in the current search path.
But we don't want to add the builddir to the system include search path
as it will give file collisions when builddir is the same as srcdir.
Hence we only add it for quoted includes.
Guillem Jover 17 anos atrás
pai
commit
2ff362a3b6
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      dselect/Makefile.am

+ 1 - 0
dselect/Makefile.am

@@ -8,6 +8,7 @@ INCLUDES = \
 	-DADMINDIR=\"$(admindir)\" -DLIBDIR=\"$(pkglibdir)\" \
 	-DLOCALLIBDIR=\"/usr/local/lib/dpkg\" \
 	-idirafter $(top_srcdir)/lib/compat \
+	-iquote $(builddir) \
 	-I$(top_builddir) \
 	-I$(top_srcdir)/lib