summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2016-09-05 22:29:40 (GMT)
committerBoris Nagaev <bnagaev@gmail.com>2016-10-23 01:10:39 (GMT)
commit08ea4ee0e69fc464c76ee98beefac0d183d8c8b9 (patch)
treeccdf15521e56c1405334c4620d5074fbfa01d6c3 /Makefile
parente409efc3129bbc349a955471840edd8011e3f522 (diff)
downloadmxe-08ea4ee0e69fc464c76ee98beefac0d183d8c8b9.zip
mxe-08ea4ee0e69fc464c76ee98beefac0d183d8c8b9.tar.gz
mxe-08ea4ee0e69fc464c76ee98beefac0d183d8c8b9.tar.bz2
Makefile: enable relative paths for SOURCE_TREE
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 937c426..a46b32a 100644
--- a/Makefile
+++ b/Makefile
@@ -549,7 +549,7 @@ build-only-$(1)_$(3): LIB_SUFFIX = $(if $(findstring shared,$(3)),dll,a)
build-only-$(1)_$(3): BITS = $(if $(findstring x86_64,$(3)),64,32)
build-only-$(1)_$(3): BUILD_TYPE = $(if $(findstring debug,$(3) $($(1)_CONFIGURE_OPTS)),debug,release)
build-only-$(1)_$(3): BUILD_TYPE_SUFFIX = $(if $(findstring debug,$(3) $($(1)_CONFIGURE_OPTS)),d)
-build-only-$(1)_$(3): SOURCE_DIR = $(or $($(1)_SOURCE_TREE),$(2)/$($(1)_SUBDIR))
+build-only-$(1)_$(3): SOURCE_DIR = $(or $(realpath $($(1)_SOURCE_TREE)),$(2)/$($(1)_SUBDIR))
build-only-$(1)_$(3): BUILD_DIR = $(2)/$(if $($(1)_SOURCE_TREE),local,$($(1)_SUBDIR)).build_
build-only-$(1)_$(3): TEST_FILE = $($(1)_TEST_FILE)
build-only-$(1)_$(3): CMAKE_RUNRESULT_FILE = $(PREFIX)/share/cmake/modules/TryRunResults.cmake