about summary refs log tree commit diff
path: root/stdio-common/tst-unbputc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/tst-unbputc.sh')
-rwxr-xr-xstdio-common/tst-unbputc.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/stdio-common/tst-unbputc.sh b/stdio-common/tst-unbputc.sh
index efc07778e3..89e02596c1 100755
--- a/stdio-common/tst-unbputc.sh
+++ b/stdio-common/tst-unbputc.sh
@@ -19,10 +19,11 @@
 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
 common_objpfx=$1; shift
+run_program_prefix=$1; shift
 
 status=0
 
-${common_objpfx}elf/ld.so --library-path $common_objpfx \
+${run_program_prefix} \
   ${common_objpfx}stdio-common/tst-unbputc \
     2> ${common_objpfx}stdio-common/tst-unbputc.out || status=1