summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorКоролев Сергей <korolev.sergey@gmail.com>2016-05-11 22:48:55 +0300
committerDave Watson <davejwatson@fb.com>2017-01-13 08:27:39 -0800
commit208a430bcbab7d63a4c04242f13c4740e0246a56 (patch)
treef8246949f9670633ac8ce3fef8cff0114f19457c /Makefile.am
parentad0d7633bc9d18d752423d0cf47096e39bd4d0f1 (diff)
downloadlibunwind-208a430bcbab7d63a4c04242f13c4740e0246a56.tar.gz
add --disable-tests option
Allows to skip tests build.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 6a3ed9e7..0c29b3ea 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -42,7 +42,11 @@ endif
nodist_include_HEADERS = include/libunwind-common.h
-SUBDIRS = src tests
+SUBDIRS = src
+
+if CONFIG_TESTS
+SUBDIRS += tests
+endif
if CONFIG_DOCS
SUBDIRS += doc