File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -145,11 +145,11 @@ TESTS += $(TESTS_CXX11)
145
145
# Note: we only build it, but do not run directly (NIT prepares the sandbox)
146
146
check_PROGRAMS += cppnit
147
147
148
+ # NOTE: libnutclientstub includes libnutclient and adds nutclientmem
148
149
cppunittest_CXXFLAGS = $(AM_CXXFLAGS ) $(CPPUNIT_CFLAGS ) $(CPPUNIT_CXXFLAGS ) $(CPPUNIT_NUT_CXXFLAGS ) $(CXXFLAGS )
149
150
# ##cppunittest_CXXFLAGS += -I$(top_srcdir)/include -DTOP_SRCDIR="\"$(top_srcdir)\""
150
151
cppunittest_LDFLAGS = $(CPPUNIT_LDFLAGS ) $(CPPUNIT_LIBS )
151
- cppunittest_LDADD = $(top_builddir ) /clients/libnutclient.la
152
- cppunittest_LDADD += $(top_builddir ) /clients/libnutclientstub.la
152
+ cppunittest_LDADD = $(top_builddir ) /clients/libnutclientstub.la
153
153
cppunittest_SOURCES = $(CPPUNITTESTSRC ) $(CPPUNITTESTERSRC )
154
154
155
155
# Currently nutconf and related codebase causes woes for static analysis
@@ -161,7 +161,7 @@ endif WITH_NUTCONF
161
161
162
162
cppnit_CXXFLAGS = $(AM_CXXFLAGS ) $(CPPUNIT_CFLAGS ) $(CPPUNIT_CXXFLAGS ) $(CPPUNIT_NUT_CXXFLAGS ) $(CXXFLAGS )
163
163
cppnit_LDFLAGS = $(CPPUNIT_LDFLAGS ) $(CPPUNIT_LIBS )
164
- cppnit_LDADD = $( top_builddir ) /clients/libnutclient.la $(top_builddir ) /clients/libnutclientstub.la
164
+ cppnit_LDADD = $(top_builddir ) /clients/libnutclientstub.la
165
165
cppnit_SOURCES = $(CPPCLIENTTESTSRC ) $(CPPUNITTESTERSRC )
166
166
167
167
# Make sure out-of-dir C++ dependencies exist (especially when dev-building
You can’t perform that action at this time.
0 commit comments