aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-11-11 00:37:07 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-11-11 00:40:18 +0300
commit24a7adc9c6b9ae61c791377aa1676d2611ee9fe8 (patch)
treec51369583c12967f75f19987ea4539e55340eaa5
parent3818e0742be6917b2957baea7b6aa617a07686dc (diff)
Fix broken out-of-tree build
-rw-r--r--libpq/buildfile5
1 files changed, 2 insertions, 3 deletions
diff --git a/libpq/buildfile b/libpq/buildfile
index 35638c8..0878e7f 100644
--- a/libpq/buildfile
+++ b/libpq/buildfile
@@ -68,10 +68,9 @@ port_dir = ($tclass == "windows" ? "win32" : \
$tclass == "macos" ? "darwin" : \
$tclass)
-c.poptions =+ "-I$src_base" \
+c.poptions =+ "-I$out_root" "-I$src_base" \
"-I$src_base/postgresql/port/$port_dir" \
- "-I$src_base/postgresql" \
- "-I$src_root"
+ "-I$src_base/postgresql"
if ($tclass == "windows")
obj{*}: c.poptions =+ "-I$src_base/win32"