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

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


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

commit 03a297d80e48f0c6f7ca495b7a25e7573607e5b5
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)"                                  \

Reply via email to