diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-11-15 17:27:19 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-11-15 17:27:19 +0300 |
commit | 5633e7103cde7130141909fef264b47a75bcb2ce (patch) | |
tree | de798a666e4b09a50480a7cb7979913e86d39718 | |
parent | 03b63ad19f89d2ee5c4ba4626cbe52d0c6a87104 (diff) |
Fix buildfile to make headers auto-generating to work properly
-rw-r--r-- | libpq/buildfile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libpq/buildfile b/libpq/buildfile index 0878e7f..fcaa8d0 100644 --- a/libpq/buildfile +++ b/libpq/buildfile @@ -68,8 +68,11 @@ port_dir = ($tclass == "windows" ? "win32" : \ $tclass == "macos" ? "darwin" : \ $tclass) -c.poptions =+ "-I$out_root" "-I$src_base" \ - "-I$src_base/postgresql/port/$port_dir" \ +# Note that we add "-I$src_root" for the headers auto-generating machinery to +# work properly. +# +c.poptions =+ "-I$out_root" "-I$src_root" "-I$src_base" \ + "-I$src_base/postgresql/port/$port_dir" \ "-I$src_base/postgresql" if ($tclass == "windows") |