build: configureDbus replacing linked objects
The external references to the configurations are provided by the
dbusconfiguration.cpp. Make including this configured.
Tested: Now platform without dbus configuration properly configures
zone.
Change-Id: I97646141aa5672afaadd5346152dfbb07557b2d9
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/Makefile.am b/Makefile.am
index 05e8ce9..a0c64c6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -43,7 +43,6 @@
dbus/util.cpp \
dbus/dbuspassive.cpp \
dbus/dbusactiveread.cpp \
- dbus/dbusconfiguration.cpp \
dbus/dbuswrite.cpp \
sysfs/sysfsread.cpp \
sysfs/sysfswrite.cpp \
@@ -68,6 +67,10 @@
experiments/drive.cpp \
$(BUILT_SOURCES)
+if CONFIGURE_DBUS
+libswampd_la_SOURCES += dbus/dbusconfiguration.cpp
+endif
+
libmanualcmdsdir = ${libdir}/ipmid-providers
libmanualcmds_LTLIBRARIES = libmanualcmds.la
libmanualcmds_la_SOURCES = \