Просмотр исходного кода

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
Родитель
Сommit
2ff362a3b6
1 измененных файлов с 1 добавлено и 0 удалено
  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