You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ka...@apache.org on 2016/03/02 06:32:45 UTC
mesos git commit: Use relative path to create libraries symbolic link.
Repository: mesos
Updated Branches:
refs/heads/master a18c3a5b3 -> 720cc61fa
Use relative path to create libraries symbolic link.
Review: https://reviews.apache.org/r/43999/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/720cc61f
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/720cc61f
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/720cc61f
Branch: refs/heads/master
Commit: 720cc61fabb4f09503a80c92aad4d414d1eb1aa8
Parents: a18c3a5
Author: Zhiwei Chen <zh...@gmail.com>
Authored: Tue Mar 1 22:30:37 2016 -0500
Committer: Kapil Arya <ka...@mesosphere.io>
Committed: Tue Mar 1 22:30:37 2016 -0500
----------------------------------------------------------------------
src/Makefile.am | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/720cc61f/src/Makefile.am
----------------------------------------------------------------------
diff --git a/src/Makefile.am b/src/Makefile.am
index 5d8fe8b..f49d512 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -52,6 +52,7 @@ testlibexecdir = $(pkglibexecdir)/tests
# Directory where Mesos modules are installed.
pkgmoduledir = $(pkglibdir)/modules
+relative_pkgmoduledir = $(PACKAGE)/modules
if WITH_BUNDLED_PROTOBUF
# Protocol buffer compiler.
@@ -2007,7 +2008,7 @@ install-data-hook:
liblogrotate_container_logger; do \
for lib in `cd $(DESTDIR)/$(pkgmoduledir) && ls $${name}*`; do \
rm -f $$lib; \
- $(LN_S) $(DESTDIR)/$(pkgmoduledir)/$$lib $$lib; \
+ $(LN_S) $(relative_pkgmoduledir)/$$lib $$lib; \
done; \
done