From 24a7adc9c6b9ae61c791377aa1676d2611ee9fe8 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sat, 11 Nov 2017 00:37:07 +0300 Subject: Fix broken out-of-tree build --- libpq/buildfile | 5 ++--- 1 file 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" -- cgit v1.1