aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e72fbf437..fc130f6ec 100644
--- a/Makefile
+++ b/Makefile
@@ -109,7 +109,9 @@ else
ASTVARLIBDIR=$(localstatedir)/lib/asterisk
endif
endif
-ASTDATADIR?=$(ASTVARLIBDIR)
+ifeq ($(ASTDATADIR),)
+ ASTDATADIR:=$(ASTVARLIBDIR)
+endif
# Asterisk.conf is located in ASTETCDIR or by using the -C flag
# when starting Asterisk