X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=doc%2Fexamples%2FMakefile.am;h=646213bceb3fd3ce1346719c2343e1867d08dc0e;hb=a39bde3b86162601c7d670d97a962fc3f029fdbd;hp=4583b5bdf1884605603ac1f66d56c2c6f0212d36;hpb=8bad63a0394e7f76f344e065cc90327c099eae8e;p=userspace-rcu.git diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am index 4583b5b..646213b 100644 --- a/doc/examples/Makefile.am +++ b/doc/examples/Makefile.am @@ -1,3 +1,7 @@ +if NO_SHARED +# Don't build examples if shared libraries support was explicitly +# disabled. +else SUBDIRS = qsbr-minimal doc_examplesdir = ${docdir}/examples @@ -10,3 +14,4 @@ doc_examples_qsbr_minimal_DATA = \ BUILD_EXAMPLES_FROM_TREE = 1 export +endif