blob: 84d4467c0e2a8ef0643b3358bcf545bb7edbb873 [file] [log] [blame]
Andrew Geissler87f5cff2022-09-30 13:13:31 -05001From 8f3ed8df4721991958a5becf75a69493d67e7514 Mon Sep 17 00:00:00 2001
2From: "Roy.Li" <rongqing.li@windriver.com>
3Date: Tue, 5 Sep 2017 10:24:10 +0800
4Subject: [PATCH] [PATCH] do not use the hardcode libdir
Patrick Williamsddad1a12017-02-23 20:36:32 -06005
Patrick Williamsb9af8752023-01-30 13:28:01 -06006Upstream-Status: Pending
Patrick Williamsddad1a12017-02-23 20:36:32 -06007
8Signed-off-by: Roy.Li <rongqing.li@windriver.com>
9Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Andrew Geissler87f5cff2022-09-30 13:13:31 -050010
Patrick Williamsddad1a12017-02-23 20:36:32 -060011---
12 configure.ac | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/configure.ac b/configure.ac
Andrew Geissler87f5cff2022-09-30 13:13:31 -050016index 00b359e..ba50e6f 100644
Patrick Williamsddad1a12017-02-23 20:36:32 -060017--- a/configure.ac
18+++ b/configure.ac
Andrew Geissler87f5cff2022-09-30 13:13:31 -050019@@ -114,7 +114,7 @@ if test "$with_libpq" != yes; then
Patrick Williamsddad1a12017-02-23 20:36:32 -060020 if test -d "$with_libpq"; then
Andrew Geissler87f5cff2022-09-30 13:13:31 -050021 PATH="$with_libpq/bin:$PATH"
22 CPPFLAGS="$CPPFLAGS -I$with_libpq/include -I$with_libpq/include/postgresql/internal"
Patrick Williamsddad1a12017-02-23 20:36:32 -060023- LDFLAGS="$LDFLAGS -L$with_libpq/lib"
24+ LDFLAGS="$LDFLAGS -L$with_libpq/${base_libdir}"
25 else
26 if test -x "$with_libpq"; then
27 PG_CONFIG=$with_libpq