automake: Only build testdso when testing

This commit is contained in:
Nick Wellnhofer 2024-12-24 23:50:39 +01:00
parent 0cf25b3de2
commit 41aed0890a

View File

@ -148,7 +148,7 @@ testModule_SOURCES=testModule.c
testModule_DEPENDENCIES = $(DEPS)
testModule_LDADD= $(LDADDS)
noinst_LTLIBRARIES = testdso.la
check_LTLIBRARIES = testdso.la
testdso_la_SOURCES = testdso.c
testdso_la_LDFLAGS = $(AM_LDFLAGS) \
-module -no-undefined -avoid-version -rpath $(libdir)