aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/postgresql
diff options
context:
space:
mode:
authorYue Tao <Yue.Tao@windriver.com>2015-09-06 13:27:10 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2015-09-23 15:34:25 +0200
commit11d91e658ff2f9c38481f96c7b162ef6883da023 (patch)
treea80237662a3513337f9e4ff04732bfca52d74191 /meta-oe/recipes-support/postgresql
parent1692d5c3020434404fc1ee6911a60b88287a5efb (diff)
downloadmeta-openembedded-contrib-11d91e658ff2f9c38481f96c7b162ef6883da023.tar.gz
postgresql: set the tclsh as target path
The tclsh path in pltcl_listmod is set to sysroot, which causes pltcl_listmod to fails to run on target, so fix the path to /usr/bin/tclsh. $ pltcl_listmod /usr/bin/pltcl_listmod: line 5: /buildarea1/WRLinux70-STD-0825/bitbake_build/tmp/sysroots/x86_64-linux/usr/bin/tclsh: No such file or directory $ Signed-off-by: Yue Tao <Yue.Tao@windriver.com> Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/postgresql')
-rw-r--r--meta-oe/recipes-support/postgresql/postgresql.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/postgresql/postgresql.inc b/meta-oe/recipes-support/postgresql/postgresql.inc
index 15fb7c7d42..2b8db3452e 100644
--- a/meta-oe/recipes-support/postgresql/postgresql.inc
+++ b/meta-oe/recipes-support/postgresql/postgresql.inc
@@ -139,6 +139,7 @@ do_configure() {
-e "/^perl_embed_ldflags/s:${LIBPNA}:${STAGING_LIBDIR}:g" \
-e "/^perl_embed_ldflags/s:${LIBNA}:${STAGING_LIBDIR}:g" \
-e "/^perl_embed_ldflags/s:${BLIBNA}:${STAGING_BASELIBDIR}:g" \
+ -e "/^TCLSH/s:=.*:= ${bindir}/tclsh:g" \
${B}/src/Makefile.global
# workaround perl package's libperl.so problem