2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 05:27:55 +00:00

[master] more ldadd order fixes

other binaries in log/unittests also need to link to our local libs first
This commit is contained in:
Jelte Jansen 2012-05-04 07:53:49 +00:00
parent 5fb1859628
commit cc0b929d0d

View File

@ -16,19 +16,19 @@ noinst_PROGRAMS = logger_example
logger_example_SOURCES = logger_example.cc logger_example_SOURCES = logger_example.cc
logger_example_CPPFLAGS = $(AM_CPPFLAGS) logger_example_CPPFLAGS = $(AM_CPPFLAGS)
logger_example_LDFLAGS = $(AM_LDFLAGS) logger_example_LDFLAGS = $(AM_LDFLAGS)
logger_example_LDADD = $(AM_LDADD) $(LOG4CPLUS_LIBS) logger_example_LDADD = $(top_builddir)/src/lib/log/liblog.la
logger_example_LDADD += $(top_builddir)/src/lib/log/liblog.la
logger_example_LDADD += $(top_builddir)/src/lib/util/libutil.la logger_example_LDADD += $(top_builddir)/src/lib/util/libutil.la
logger_example_LDADD += $(top_builddir)/src/lib/exceptions/libexceptions.la logger_example_LDADD += $(top_builddir)/src/lib/exceptions/libexceptions.la
logger_example_LDADD += $(AM_LDADD) $(LOG4CPLUS_LIBS)
noinst_PROGRAMS += init_logger_test noinst_PROGRAMS += init_logger_test
init_logger_test_SOURCES = init_logger_test.cc init_logger_test_SOURCES = init_logger_test.cc
init_logger_test_CPPFLAGS = $(AM_CPPFLAGS) init_logger_test_CPPFLAGS = $(AM_CPPFLAGS)
init_logger_test_LDFLAGS = $(AM_LDFLAGS) init_logger_test_LDFLAGS = $(AM_LDFLAGS)
init_logger_test_LDADD = $(AM_LDADD) $(LOG4CPLUS_LIBS) init_logger_test_LDADD = $(top_builddir)/src/lib/log/liblog.la
init_logger_test_LDADD += $(top_builddir)/src/lib/log/liblog.la
init_logger_test_LDADD += $(top_builddir)/src/lib/util/libutil.la init_logger_test_LDADD += $(top_builddir)/src/lib/util/libutil.la
init_logger_test_LDADD += $(top_builddir)/src/lib/exceptions/libexceptions.la init_logger_test_LDADD += $(top_builddir)/src/lib/exceptions/libexceptions.la
init_logger_test_LDADD += $(AM_LDADD) $(LOG4CPLUS_LIBS)
if HAVE_GTEST if HAVE_GTEST
TESTS = TESTS =