diff options
Diffstat (limited to 'src/lib/dhcpsrv/testutils/Makefile.am')
-rw-r--r-- | src/lib/dhcpsrv/testutils/Makefile.am | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/dhcpsrv/testutils/Makefile.am b/src/lib/dhcpsrv/testutils/Makefile.am index 257a4612e4..8c156a29a8 100644 --- a/src/lib/dhcpsrv/testutils/Makefile.am +++ b/src/lib/dhcpsrv/testutils/Makefile.am @@ -33,11 +33,16 @@ endif libdhcpsrvtest_la_CXXFLAGS = $(AM_CXXFLAGS) libdhcpsrvtest_la_CPPFLAGS = $(AM_CPPFLAGS) $(GTEST_INCLUDES) + +libdhcpsrvtest_la_LIBADD = + if HAVE_MYSQL libdhcpsrvtest_la_CPPFLAGS += $(MYSQL_CPPFLAGS) +libdhcpsrvtest_la_LIBADD += $(top_builddir)/src/lib/mysql/libkea-mysql.la endif if HAVE_PGSQL libdhcpsrvtest_la_CPPFLAGS += $(PGSQL_CPPFLAGS) +libdhcpsrvtest_la_LIBADD += $(top_builddir)/src/lib/pgsql/libkea-pgsql.la endif if HAVE_CQL libdhcpsrvtest_la_CPPFLAGS += $(CQL_CPPFLAGS) @@ -54,7 +59,8 @@ if HAVE_CQL libdhcpsrvtest_la_LDFLAGS += $(CQL_LIBS) endif -libdhcpsrvtest_la_LIBADD = $(top_builddir)/src/lib/database/libkea-database.la + +libdhcpsrvtest_la_LIBADD += $(top_builddir)/src/lib/database/libkea-database.la libdhcpsrvtest_la_LIBADD += $(top_builddir)/src/lib/cc/libkea-cc.la libdhcpsrvtest_la_LIBADD += $(top_builddir)/src/lib/log/libkea-log.la |