File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -152,11 +152,12 @@ TESTS += $(TESTS_CXX11)
152152# Note: we only build it, but do not run directly (NIT prepares the sandbox)
153153check_PROGRAMS += cppnit
154154
155+ # NOTE: libnutclientstub includes libnutclient and adds nutclientmem
155156cppunittest_CXXFLAGS = $(AM_CXXFLAGS ) $(CPPUNIT_CFLAGS ) $(CPPUNIT_CXXFLAGS ) $(CPPUNIT_NUT_CXXFLAGS ) $(CXXFLAGS )
156157# ##cppunittest_CXXFLAGS += -I$(top_srcdir)/include -DTOP_SRCDIR="\"$(top_srcdir)\""
157158cppunittest_LDFLAGS = $(CPPUNIT_LDFLAGS ) $(CPPUNIT_LIBS )
158- cppunittest_LDADD = $(top_builddir ) /clients/libnutclient .la
159- cppunittest_LDADD += $(top_builddir ) /clients/libnutclientstub .la
159+ cppunittest_LDADD = $(top_builddir ) /clients/libnutclientstub .la
160+ cppunittest_LDADD += $(top_builddir ) /clients/libnutclient .la
160161cppunittest_SOURCES = $(CPPUNITTESTSRC ) $(CPPUNITTESTERSRC )
161162
162163# Currently nutconf and related codebase causes woes for static analysis
@@ -168,7 +169,8 @@ endif WITH_LIBNUTCONF
168169
169170cppnit_CXXFLAGS = $(AM_CXXFLAGS ) $(CPPUNIT_CFLAGS ) $(CPPUNIT_CXXFLAGS ) $(CPPUNIT_NUT_CXXFLAGS ) $(CXXFLAGS )
170171cppnit_LDFLAGS = $(CPPUNIT_LDFLAGS ) $(CPPUNIT_LIBS )
171- cppnit_LDADD = $(top_builddir ) /clients/libnutclient.la $(top_builddir ) /clients/libnutclientstub.la
172+ cppnit_LDADD = $(top_builddir ) /clients/libnutclientstub.la
173+ cppnit_LDADD += $(top_builddir ) /clients/libnutclient.la
172174cppnit_SOURCES = $(CPPCLIENTTESTSRC ) $(CPPUNITTESTERSRC )
173175
174176# Make sure out-of-dir C++ dependencies exist (especially when dev-building
You can’t perform that action at this time.
0 commit comments