summary refs log tree commit diff
path: root/intl/tst-gettext2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'intl/tst-gettext2.sh')
-rw-r--r--intl/tst-gettext2.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/intl/tst-gettext2.sh b/intl/tst-gettext2.sh
index 2d9c52fef9..833b97986c 100644
--- a/intl/tst-gettext2.sh
+++ b/intl/tst-gettext2.sh
@@ -20,7 +20,8 @@
 set -e
 
 common_objpfx=$1
-objpfx=$2
+run_program_prefix=$2
+objpfx=$3
 
 LC_ALL=C
 export LC_ALL
@@ -66,7 +67,7 @@ LOCPATH=${objpfx}domaindir
 export LOCPATH
 
 # Now run the test.
-${common_objpfx}elf/ld.so --library-path $common_objpfx \
+${run_program_prefix} \
 ${objpfx}tst-gettext2 > ${objpfx}tst-gettext2.out ${objpfx}domaindir &&
 cmp ${objpfx}tst-gettext2.out - <<EOF
 String1 - Lang1: 1st string