From 3471ad599e1ec8e0eae3115f83fbf4cec93549ff Mon Sep 17 00:00:00 2001 From: Mike Morris Date: Thu, 1 Oct 2015 10:21:35 -0400 Subject: [PATCH] fix MASON_DIR around MASON_STDLIB_VERSION --- mason.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mason.sh b/mason.sh index e50b17974..915d53a08 100644 --- a/mason.sh +++ b/mason.sh @@ -38,7 +38,7 @@ case ${MASON_ROOT} in *\ * ) mason_error "Directory '${MASON_ROOT} contains spaces."; exit ;; esac -export MASON_STDLIB_VERSION="-"`${CXX:-c++} stdlib.cpp -o stdlib.o && ./stdlib.o` +export MASON_STDLIB_VERSION="-"`${CXX:-c++} ${MASON_DIR}/stdlib.cpp -o ${MASON_DIR}/stdlib.o && ${MASON_DIR}/stdlib.o` if [ ${MASON_PLATFORM} = 'osx' ]; then export MASON_HOST_ARG="--host=x86_64-apple-darwin"