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.
This commit is contained in:
Daniel Kahn Gillmor
2021-02-24 10:31:44 -05:00
parent 63fe6f0be5
commit 8de66f799f

View File

@@ -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