Test dynamic libraries should not be installed
Tag the libraries with check_ to prevent them being installed by "make install". Additionally make check requires .so to be create which requires .lai files to be constructed which, in turn, requires -rpath <dir> as part of "linking" the .la file.
This commit is contained in:
@@ -4,11 +4,10 @@ AM_CPPFLAGS += \
|
||||
$(LIBISC_CFLAGS) \
|
||||
$(LIBDNS_CFLAGS)
|
||||
|
||||
dlzexternal_LTLIBRARIES = dlzexternal.la
|
||||
dlzexternaldir = $(abs_builddir)
|
||||
check_LTLIBRARIES = dlzexternal.la
|
||||
|
||||
dlzexternal_la_SOURCES = \
|
||||
driver.c \
|
||||
driver.h
|
||||
|
||||
dlzexternal_la_LDFLAGS = -avoid-version -module -shared -export-dynamic
|
||||
dlzexternal_la_LDFLAGS = -avoid-version -module -shared -export-dynamic -rpath $(abs_builddir)
|
||||
|
||||
Reference in New Issue
Block a user