mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
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) \
|
$(LIBISC_CFLAGS) \
|
||||||
$(LIBDNS_CFLAGS)
|
$(LIBDNS_CFLAGS)
|
||||||
|
|
||||||
dlzexternal_LTLIBRARIES = dlzexternal.la
|
check_LTLIBRARIES = dlzexternal.la
|
||||||
dlzexternaldir = $(abs_builddir)
|
|
||||||
|
|
||||||
dlzexternal_la_SOURCES = \
|
dlzexternal_la_SOURCES = \
|
||||||
driver.c \
|
driver.c \
|
||||||
driver.h
|
driver.h
|
||||||
|
|
||||||
dlzexternal_la_LDFLAGS = -avoid-version -module -shared -export-dynamic
|
dlzexternal_la_LDFLAGS = -avoid-version -module -shared -export-dynamic -rpath $(abs_builddir)
|
||||||
|
@@ -4,8 +4,7 @@ AM_CPPFLAGS += \
|
|||||||
$(LIBISC_CFLAGS) \
|
$(LIBISC_CFLAGS) \
|
||||||
$(LIBDNS_CFLAGS)
|
$(LIBDNS_CFLAGS)
|
||||||
|
|
||||||
dyndb_LTLIBRARIES = sample.la
|
check_LTLIBRARIES = sample.la
|
||||||
dyndbdir = $(abs_builddir)
|
|
||||||
|
|
||||||
sample_la_SOURCES = \
|
sample_la_SOURCES = \
|
||||||
db.c \
|
db.c \
|
||||||
@@ -23,4 +22,4 @@ sample_la_SOURCES = \
|
|||||||
util.h \
|
util.h \
|
||||||
zone.h
|
zone.h
|
||||||
|
|
||||||
sample_la_LDFLAGS = -avoid-version -module -shared -export-dynamic
|
sample_la_LDFLAGS = -avoid-version -module -shared -export-dynamic -rpath $(abs_builddir)
|
||||||
|
@@ -6,8 +6,7 @@ AM_CPPFLAGS += \
|
|||||||
$(LIBNS_CFLAGS) \
|
$(LIBNS_CFLAGS) \
|
||||||
$(LIBISCCFG_CFLAGS)
|
$(LIBISCCFG_CFLAGS)
|
||||||
|
|
||||||
hooks_LTLIBRARIES = test-async.la
|
check_LTLIBRARIES = test-async.la
|
||||||
hooksdir = $(abs_builddir)
|
|
||||||
|
|
||||||
test_async_la_SOURCES = test-async.c
|
test_async_la_SOURCES = test-async.c
|
||||||
test_async_la_LDFLAGS = -avoid-version -module -shared -export-dynamic
|
test_async_la_LDFLAGS = -avoid-version -module -shared -export-dynamic -rpath $(abs_builddir)
|
||||||
|
Reference in New Issue
Block a user