Skip to contentSkip to conversation

postgresql: set the tclsh as target path

PATCH New [email protected] 1 participant 1 message Sep 6, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 postgresql: set the tclsh as target path

From: Yue Tao <[email protected]>

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
    $
---
 meta-oe/recipes-support/postgresql/postgresql.inc | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-support/postgresql/postgresql.inc +1 -0
index 15fb7c7..2b8db34 100644
@@ -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
Signature · 1 line
1.9.1