From 7e977b3c5071fc17575ff88ebbc9db7b17c70497 Mon Sep 17 00:00:00 2001 From: Tim Ruffing Date: Tue, 25 Apr 2023 11:44:25 +0100 Subject: [PATCH] autotools: Take VPATH builds into account when generating testvectors --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 047b2f2178368..29b8a69cfba1b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -227,7 +227,7 @@ TESTVECTORS = src/wycheproof/ecdsa_secp256k1_sha256_bitcoin_test.h src/wycheproof/ecdsa_secp256k1_sha256_bitcoin_test.h: mkdir -p $(@D) - python3 tools/tests_wycheproof_generate.py src/wycheproof/ecdsa_secp256k1_sha256_bitcoin_test.json > $@ + python3 $(top_srcdir)/tools/tests_wycheproof_generate.py $(top_srcdir)/src/wycheproof/ecdsa_secp256k1_sha256_bitcoin_test.json > $@ testvectors: $(TESTVECTORS)