File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -152,11 +152,12 @@ TESTS += $(TESTS_CXX11)
152
152
# Note: we only build it, but do not run directly (NIT prepares the sandbox)
153
153
check_PROGRAMS += cppnit
154
154
155
+ # NOTE: libnutclientstub includes libnutclient and adds nutclientmem
155
156
cppunittest_CXXFLAGS = $(AM_CXXFLAGS ) $(CPPUNIT_CFLAGS ) $(CPPUNIT_CXXFLAGS ) $(CPPUNIT_NUT_CXXFLAGS ) $(CXXFLAGS )
156
157
# ##cppunittest_CXXFLAGS += -I$(top_srcdir)/include -DTOP_SRCDIR="\"$(top_srcdir)\""
157
158
cppunittest_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
160
161
cppunittest_SOURCES = $(CPPUNITTESTSRC ) $(CPPUNITTESTERSRC )
161
162
162
163
# Currently nutconf and related codebase causes woes for static analysis
@@ -168,7 +169,8 @@ endif WITH_LIBNUTCONF
168
169
169
170
cppnit_CXXFLAGS = $(AM_CXXFLAGS ) $(CPPUNIT_CFLAGS ) $(CPPUNIT_CXXFLAGS ) $(CPPUNIT_NUT_CXXFLAGS ) $(CXXFLAGS )
170
171
cppnit_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
172
174
cppnit_SOURCES = $(CPPCLIENTTESTSRC ) $(CPPUNITTESTERSRC )
173
175
174
176
# Make sure out-of-dir C++ dependencies exist (especially when dev-building
You can’t perform that action at this time.
0 commit comments