aboutsummaryrefslogtreecommitdiff
path: root/src/template/darwin
diff options
context:
space:
mode:
Diffstat (limited to 'src/template/darwin')
-rw-r--r--src/template/darwin1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/template/darwin b/src/template/darwin
index f4d4e9d7cf8..32414d21a98 100644
--- a/src/template/darwin
+++ b/src/template/darwin
@@ -11,6 +11,7 @@ fi
if test x"$PG_SYSROOT" != x"" ; then
if test -d "$PG_SYSROOT" ; then
CPPFLAGS="-isysroot $PG_SYSROOT $CPPFLAGS"
+ LDFLAGS="-isysroot $PG_SYSROOT $LDFLAGS"
else
PG_SYSROOT=""
fi