($(objpfx)tst-svc.out): Fix rule to read from input from stdin and setup environment.
authorAndreas Jaeger <aj@suse.de>
Mon, 24 Jul 2000 13:40:03 +0000 (13:40 +0000)
committerAndreas Jaeger <aj@suse.de>
Mon, 24 Jul 2000 13:40:03 +0000 (13:40 +0000)
string/Makefile

index 1ec547e..e133b53 100644 (file)
@@ -62,7 +62,8 @@ CFLAGS-test-ffs.c = -fno-builtin
 
 ifeq ($(cross-compiling),no)
 tests: $(objpfx)tst-svc.out
-$(objpfx)tst-svc.out: $(objpfx)tst-svc
-       $(built-program-cmd) $< > $@
+$(objpfx)tst-svc.out: tst-svc.input $(objpfx)tst-svc
+       GCONV_PATH=$(common-objpfx)iconvdata LC_ALL=C \
+         $(built-program-cmd) < $(word 1,$^) > $@
        -cmp tst-svc.expect $(objpfx)tst-svc.out
 endif