summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2021-02-24 10:31:44 -0500
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2021-02-24 11:14:37 -0500
commit8de66f799ffeb2fcdf8846e516c535db13c1e29d (patch)
tree7cead4c14a13fea3ee099ef80e2244c7453cb9e1 /test
parent63fe6f0be50bb76e7c33907feb1cc5df9fc312fc (diff)
downloadlibfaketime-8de66f799ffeb2fcdf8846e516c535db13c1e29d.tar.gz
randomtest.sh requires librandom.so to be present
In some configurations, GNU make might treat librandom.so as an ephemeral/intermediate build artifact and destroy it before randomtest.sh is run. This ensures the shared object is present when needed.
Diffstat (limited to 'test')
-rw-r--r--test/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Makefile b/test/Makefile
index 2a8ad9c..6fff9f5 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -25,7 +25,7 @@ functest:
getrandom_test: getrandom_test.c
${CC} -o $@ ${CFLAGS} $<
-randomtest: getrandom_test use_lib_random
+randomtest: getrandom_test use_lib_random librandom.so
./randomtest.sh
librandom.o: librandom.c