summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-03-16 22:39:09 +0100
committerMichael Stahl <mstahl@redhat.com>2012-03-16 22:39:09 +0100
commitb183576c5f5d5c7f1eba4c9b09c3e4eb1be69b17 (patch)
tree928b8d0fb6cc4ecd9971943dc4665412c90c4d85 /solenv
parent742dca7366ba6ac3c58b1df6ee548788f4ce24e7 (diff)
unoil: add missing dependencies in custom makefile
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/gbuild_simple.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/solenv/gbuild/gbuild_simple.mk b/solenv/gbuild/gbuild_simple.mk
index b05cb8c8195c..6ee9e09f4034 100644
--- a/solenv/gbuild/gbuild_simple.mk
+++ b/solenv/gbuild/gbuild_simple.mk
@@ -82,6 +82,13 @@ include $(GBUILDDIR)/Tempfile.mk
# Include platform/cpu/compiler specific config/definitions
include $(GBUILDDIR)/platform/$(OS)_$(CPUNAME)_$(COM).mk
+ifeq ($(CROSS_COMPILING),YES)
+# We can safely Assume all cross-compilation is from Unix systems.
+gb_Executable_EXT_for_build :=
+else
+gb_Executable_EXT_for_build := $(gb_Executable_EXT)
+endif
+
ifeq ($(SYSTEM_PYTHON),YES)
gb_PYTHONTARGET :=
gb_PYTHON := $(PYTHON)