diff options
Diffstat (limited to 'meta-oe/recipes-dbs/psqlodbc/files/psqlodbc-donot-use-the-hardcode-libdir.patch')
-rw-r--r-- | meta-oe/recipes-dbs/psqlodbc/files/psqlodbc-donot-use-the-hardcode-libdir.patch | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/meta-oe/recipes-dbs/psqlodbc/files/psqlodbc-donot-use-the-hardcode-libdir.patch b/meta-oe/recipes-dbs/psqlodbc/files/psqlodbc-donot-use-the-hardcode-libdir.patch index 7eda038756..acfaa3f6be 100644 --- a/meta-oe/recipes-dbs/psqlodbc/files/psqlodbc-donot-use-the-hardcode-libdir.patch +++ b/meta-oe/recipes-dbs/psqlodbc/files/psqlodbc-donot-use-the-hardcode-libdir.patch | |||
@@ -1,26 +1,27 @@ | |||
1 | [PATCH] do not use the hardcode libdir | 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 | ||
2 | 5 | ||
3 | Upstream-status: Pending | 6 | Upstream-status: Pending |
4 | 7 | ||
5 | Signed-off-by: Roy.Li <rongqing.li@windriver.com> | 8 | Signed-off-by: Roy.Li <rongqing.li@windriver.com> |
6 | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> | 9 | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> |
10 | |||
7 | --- | 11 | --- |
8 | configure.ac | 2 +- | 12 | configure.ac | 2 +- |
9 | 1 file changed, 1 insertion(+), 1 deletion(-) | 13 | 1 file changed, 1 insertion(+), 1 deletion(-) |
10 | 14 | ||
11 | diff --git a/configure.ac b/configure.ac | 15 | diff --git a/configure.ac b/configure.ac |
12 | index 9b88d4c..df5ad7a 100644 | 16 | index 00b359e..ba50e6f 100644 |
13 | --- a/configure.ac | 17 | --- a/configure.ac |
14 | +++ b/configure.ac | 18 | +++ b/configure.ac |
15 | @@ -140,7 +140,7 @@ if test "$with_libpq" != yes; then | 19 | @@ -114,7 +114,7 @@ if test "$with_libpq" != yes; then |
16 | if test -d "$with_libpq"; then | 20 | if test -d "$with_libpq"; then |
17 | PATH="$PATH:$with_libpq/bin" | 21 | PATH="$with_libpq/bin:$PATH" |
18 | CPPFLAGS="$CPPFLAGS -I$with_libpq/include" | 22 | CPPFLAGS="$CPPFLAGS -I$with_libpq/include -I$with_libpq/include/postgresql/internal" |
19 | - LDFLAGS="$LDFLAGS -L$with_libpq/lib" | 23 | - LDFLAGS="$LDFLAGS -L$with_libpq/lib" |
20 | + LDFLAGS="$LDFLAGS -L$with_libpq/${base_libdir}" | 24 | + LDFLAGS="$LDFLAGS -L$with_libpq/${base_libdir}" |
21 | else | 25 | else |
22 | if test -x "$with_libpq"; then | 26 | if test -x "$with_libpq"; then |
23 | PG_CONFIG=$with_libpq | 27 | PG_CONFIG=$with_libpq |
24 | -- | ||
25 | 2.8.1 | ||
26 | |||