You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ch...@apache.org on 2018/08/16 22:01:46 UTC

[mesos] branch 1.7.x updated: Fixed grpc compilation for directory paths with symlinks.

This is an automated email from the ASF dual-hosted git repository.

chhsiao pushed a commit to branch 1.7.x
in repository https://gitbox.apache.org/repos/asf/mesos.git


The following commit(s) were added to refs/heads/1.7.x by this push:
     new 2aef98a  Fixed grpc compilation for directory paths with symlinks.
2aef98a is described below

commit 2aef98a1122574a092e6d901cf0722c0ccbbb89b
Author: Kapil Arya <ka...@mesosphere.io>
AuthorDate: Thu Aug 16 14:27:38 2018 -0700

    Fixed grpc compilation for directory paths with symlinks.
    
    Automake variable `abs_builddir` doesn't resolve symlinks so we
    explicitly call `realpath` on grpc targets.
    
    Review: https://reviews.apache.org/r/68393/
---
 3rdparty/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/3rdparty/Makefile.am b/3rdparty/Makefile.am
index 248d517..a6709ff 100644
--- a/3rdparty/Makefile.am
+++ b/3rdparty/Makefile.am
@@ -442,7 +442,7 @@ $(GRPC)-build-stamp: $(GRPC)-stamp			\
 	  CFLAGS="$(CFLAGS)"				\
 	  CXXFLAGS="$(CXXFLAGS)"			\
 	  $(MAKE) $(AM_MAKEFLAGS)			\
-	    $(LIB_GRPC:%=$(abs_builddir)/%)		\
+	    $(LIB_GRPC:%=$(realpath $(abs_builddir))/%)	\
 	    CC="$(CC)"					\
 	    CXX="$(CXX)"				\
 	    LD="$(CC)"					\