[sr-dev] git:5.2:2a91ca46: Makefile.defs: use $(prefix) for setting share_target
Daniel-Constantin Mierla
miconda at gmail.com
Wed Nov 7 08:24:27 CET 2018
Module: kamailio
Branch: 5.2
Commit: 2a91ca46d8f05fde52869bd9434897ad5d76625b
URL: https://github.com/kamailio/kamailio/commit/2a91ca46d8f05fde52869bd9434897ad5d76625b
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2018-11-07T08:24:07+01:00
Makefile.defs: use $(prefix) for setting share_target
- GH #1709
(cherry picked from commit 2b295f83e1c40637012633b6cab2ad86415d4623)
---
Modified: src/Makefile.defs
---
Diff: https://github.com/kamailio/kamailio/commit/2a91ca46d8f05fde52869bd9434897ad5d76625b.diff
Patch: https://github.com/kamailio/kamailio/commit/2a91ca46d8f05fde52869bd9434897ad5d76625b.patch
---
diff --git a/src/Makefile.defs b/src/Makefile.defs
index 13ff1b0188..bcf69ffb09 100644
--- a/src/Makefile.defs
+++ b/src/Makefile.defs
@@ -497,7 +497,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)
+share_target = $(prefix)/$(share_dir)
doc_target = $(prefix)/$(doc_dir)
data_target = $(prefix)/$(data_dir)
@@ -2095,7 +2095,8 @@ saved_chg_vars:=\
cfg_prefix cfg_dir bin_prefix bin_dir modules_prefix modules_dir \
doc_prefix doc_dir man_prefix man_dir ut_prefix ut_dir \
share_prefix share_dir lib_prefix lib_dir data_prefix data_dir \
- cfg_target lib_target data_target run_prefix run_dir run_target
+ cfg_target lib_target data_target run_prefix run_dir run_target \
+ share_target
#export relevant variables to the sub-makes
More information about the sr-dev
mailing list