Fix: don't build examples in static builds
[urcu.git] / doc / examples / Makefile.am
index 4583b5bdf1884605603ac1f66d56c2c6f0212d36..646213bceb3fd3ce1346719c2343e1867d08dc0e 100644 (file)
@@ -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
This page took 0.021934 seconds and 4 git commands to generate.