summaryrefslogtreecommitdiff
path: root/utils/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'utils/Makefile')
-rw-r--r--utils/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/Makefile b/utils/Makefile
index f37cd91fb1..df03b567b1 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -17,3 +17,7 @@ EXTRA_DIST = check-each-file codegen-diff countloc.sh cvsupdate emacs \
include $(LEVEL)/Makefile.common
+# Only include llvm-config if we have Perl to build it with.
+ifeq ($(HAVE_PERL),1)
+ DIRS += llvm-config
+endif