Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 1 | From 8f3ed8df4721991958a5becf75a69493d67e7514 Mon Sep 17 00:00:00 2001 |
| 2 | From: "Roy.Li" <rongqing.li@windriver.com> |
| 3 | Date: Tue, 5 Sep 2017 10:24:10 +0800 |
| 4 | Subject: [PATCH] [PATCH] do not use the hardcode libdir |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 5 | |
| 6 | Upstream-status: Pending |
| 7 | |
| 8 | Signed-off-by: Roy.Li <rongqing.li@windriver.com> |
| 9 | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 10 | |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 11 | --- |
| 12 | configure.ac | 2 +- |
| 13 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 14 | |
| 15 | diff --git a/configure.ac b/configure.ac |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 16 | index 00b359e..ba50e6f 100644 |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 17 | --- a/configure.ac |
| 18 | +++ b/configure.ac |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 19 | @@ -114,7 +114,7 @@ if test "$with_libpq" != yes; then |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 20 | if test -d "$with_libpq"; then |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 21 | PATH="$with_libpq/bin:$PATH" |
| 22 | CPPFLAGS="$CPPFLAGS -I$with_libpq/include -I$with_libpq/include/postgresql/internal" |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 23 | - 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 |