summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2017-07-18 22:20:19 -0500
committerPatrick Williams <patrick@stwcx.xyz>2017-07-18 22:29:33 -0500
commita41b3896816e71cc19e8daba6009b3869dfc5207 (patch)
tree5ca778c39fd53a0dd5a996e387e516e08e9e4c9f
parent817248ca5013b2ae750f777cb989d651e024d4b8 (diff)
downloadsdbusplus-a41b3896816e71cc19e8daba6009b3869dfc5207.tar.gz
sdbusplus-a41b3896816e71cc19e8daba6009b3869dfc5207.zip
build: fix --disable-libsdbusplus
Since the --disable-libsdbusplus doesn't build the libsdbusplus archive, we cannot link against it in example or test directories. Disable those sub-directories if libsdbusplus is disabled. Change-Id: I5a1441042d5b05f7bad9d840fea154270782bcbd Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
-rw-r--r--Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 288b0a8..16a8b3d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -42,5 +42,7 @@ libsdbusplus_la_CXXFLAGS = $(SYSTEMD_CFLAGS)
pkgconfiglibdir = ${libdir}/pkgconfig
pkgconfiglib_DATA = sdbusplus.pc
-endif
SUBDIRS = . tools example test
+else
+SUBDIRS = . tools
+endif # WANT_LIBSDBUSPLUS
OpenPOWER on IntegriCloud