Convert the .cpp to .o in test makefile ldadd
As compiler was not able to pick the override
function definition.
Make works fine but make check was having problem.
Change-Id: I030b89065c2929019e36f8d30f6103289cd07344
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
diff --git a/test/Makefile.am b/test/Makefile.am
index c614975..5903ee0 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -26,14 +26,14 @@
$(PHOSPHOR_LOGGING_LIBS) \
$(PHOSPHOR_DBUS_INTERFACES_LIBS)
-test_LDADD = $(top_builddir)/ethernet_interface.cpp \
- $(top_builddir)/network_manager.cpp \
- $(top_builddir)/network_config.cpp \
- $(top_builddir)/ipaddress.cpp \
- $(top_builddir)/routing_table.cpp \
- $(top_builddir)/util.cpp \
- $(top_builddir)/system_configuration.cpp \
- $(top_builddir)/dhcp_configuration.cpp \
- $(top_builddir)/config_parser.cpp \
+test_LDADD = $(top_builddir)/ethernet_interface.o \
+ $(top_builddir)/network_manager.o \
+ $(top_builddir)/network_config.o \
+ $(top_builddir)/ipaddress.o \
+ $(top_builddir)/routing_table.o \
+ $(top_builddir)/util.o \
+ $(top_builddir)/system_configuration.o \
+ $(top_builddir)/dhcp_configuration.o \
+ $(top_builddir)/config_parser.o \
$(top_builddir)/xyz/openbmc_project/Network/VLAN/Create/phosphor_network_manager-server.o \
$(top_builddir)/xyz/openbmc_project/Network/IP/Create/phosphor_network_manager-server.o