diff options
-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") |