Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 1 | [PATCH] do not use the hardcode libdir |
| 2 | |
| 3 | Upstream-status: Pending |
| 4 | |
| 5 | Signed-off-by: Roy.Li <rongqing.li@windriver.com> |
| 6 | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> |
| 7 | --- |
| 8 | configure.ac | 2 +- |
| 9 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 10 | |
| 11 | diff --git a/configure.ac b/configure.ac |
| 12 | index 9b88d4c..df5ad7a 100644 |
| 13 | --- a/configure.ac |
| 14 | +++ b/configure.ac |
| 15 | @@ -140,7 +140,7 @@ if test "$with_libpq" != yes; then |
| 16 | if test -d "$with_libpq"; then |
| 17 | PATH="$PATH:$with_libpq/bin" |
| 18 | CPPFLAGS="$CPPFLAGS -I$with_libpq/include" |
| 19 | - LDFLAGS="$LDFLAGS -L$with_libpq/lib" |
| 20 | + LDFLAGS="$LDFLAGS -L$with_libpq/${base_libdir}" |
| 21 | else |
| 22 | if test -x "$with_libpq"; then |
| 23 | PG_CONFIG=$with_libpq |
| 24 | -- |
| 25 | 2.8.1 |
| 26 | |