Fixed the problem that libprocess cannot be built standalone.

Changed the `%-stamp` rule in libprocess' Makefile.am so it can
build `googletest-*/googlemock-build-stamp`.

Review: https://reviews.apache.org/r/61488/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/55ed0420
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/55ed0420
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/55ed0420

Branch: refs/heads/master
Commit: 55ed042028591b58870fbb4e777096733f9868f7
Parents: db8d097
Author: Chun-Hung Hsiao <chhs...@mesosphere.io>
Authored: Wed Aug 9 22:00:41 2017 +0200
Committer: Till Toenshoff <toensh...@me.com>
Committed: Thu Aug 10 00:43:27 2017 +0200

----------------------------------------------------------------------
 3rdparty/libprocess/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/55ed0420/3rdparty/libprocess/Makefile.am
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/Makefile.am b/3rdparty/libprocess/Makefile.am
index 7939ff7..90b7295 100644
--- a/3rdparty/libprocess/Makefile.am
+++ b/3rdparty/libprocess/Makefile.am
@@ -70,7 +70,7 @@ BUNDLED_DEPS = # Initialize BUNDLED_DEPENDENCIES so we can 
add to it.
 
 # Ensure bundled software is build properly.
 %-stamp:
-       @cd $(BUNDLED_DIR) && $(MAKE) $(AM_MAKEFLAGS) $(@F)
+       @cd $(BUNDLED_DIR) && $(MAKE) $(AM_MAKEFLAGS) $(@:$(BUNDLED_DIR)/%=%)
 
 if WITH_BUNDLED_BOOST
 BOOST_INCLUDE_FLAGS = -isystem $(BOOST)

Reply via email to