libtraceevent: allow unsetting LIBTRACEEVENT_STATIC
We also use the unit tests as a final test of the built shared library.
With this change, we can do:
LIBTRACEEVENT_STATIC= LIBS=-ltraceevent make test && ./utest/trace-utest
and that will build and execute the unit tests with libtraceevent.so instead
of the static library.
Link: https://lore.kernel.org/20241107202849.340335-1-sudipm.mukherjee@gmail.com
Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
1 file changed