Module: kamailio
Branch: master
Commit: 41c4391f5d98b1f5128774b81b4923e66cb9cc0d
URL:
https://github.com/kamailio/kamailio/commit/41c4391f5d98b1f5128774b81b4923e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-09-26T20:07:20+02:00
Makefile.defs: propagate share dir target via -DSHARE_DIR compile switch
---
Modified: src/Makefile.defs
---
Diff:
https://github.com/kamailio/kamailio/commit/41c4391f5d98b1f5128774b81b4923e…
Patch:
https://github.com/kamailio/kamailio/commit/41c4391f5d98b1f5128774b81b4923e…
---
diff --git a/src/Makefile.defs b/src/Makefile.defs
index c29ae8bf9d..dd12e6e60b 100644
--- a/src/Makefile.defs
+++ b/src/Makefile.defs
@@ -495,6 +495,7 @@ bin_target = $(prefix)/$(bin_dir)
#modules_target = $(prefix)/$(modules_dir)
lib_target = $(prefix)/$(lib_dir)
run_target = $(run_prefix)/$(run_dir)
+share_target = $(share_prefix)/$(share_dir)
doc_target = $(prefix)/$(doc_dir)
data_target = $(prefix)/$(data_dir)
@@ -655,6 +656,7 @@ C_DEFS= $(extra_defs) \
-D__CPU_$(ARCH) $(os_defs) \
-DVERSIONVAL=$(VERSIONVAL) \
-DCFG_DIR='"$(cfg_target)"'\
+ -DSHARE_DIR='"$(share_target)"'\
-DRUN_DIR='"$(run_target)"'
ifneq ($(MEMPKG), sys)