summaryrefslogtreecommitdiff
path: root/solenv/inc/tg_ext.mk
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2009-07-16 10:52:40 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2009-07-16 10:52:40 +0000
commit263df25c0b501a306f0d8111cf094c93ef1cff3a (patch)
tree99e8a5f1d6c35c82ad4a0b66d301179cf252608f /solenv/inc/tg_ext.mk
parent12981b955e57687d5ac3e8c40f7b602b65d7dba0 (diff)
CWS-TOOLING: integrate CWS mingwport21
2009-07-01 15:17:50 +0200 tono r273595 : i#102971: mingw port without solarbindir in PATH 2009-07-01 15:15:44 +0200 tono r273591 : i#90212: dmake not releasing file descriptor
Diffstat (limited to 'solenv/inc/tg_ext.mk')
-rw-r--r--solenv/inc/tg_ext.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/solenv/inc/tg_ext.mk b/solenv/inc/tg_ext.mk
index 6a06591ab795..f000775b2279 100644
--- a/solenv/inc/tg_ext.mk
+++ b/solenv/inc/tg_ext.mk
@@ -47,7 +47,11 @@ LDFLAGS!:=$(EXTRA_LINKFLAGS) $(LDFLAGS)
.EXPORT : LDFLAGS
.ENDIF
-PATH!:=.:$(SOLARBINDIR):$(PATH)
+.IF "$(GUI)"=="WNT" && "$(USE_SHELL)"!="4nt"
+PATH!:=.:$(SOLARBINDIR:^"/cygdrive/":s/://):$(PATH)
+.ELSE # "$(GUI)"=="WNT" && "$(USE_SHELL)"!="4nt"
+PATH!:=.$(PATH_SEPERATOR)$(SOLARBINDIR)$(PATH_SEPERATOR)$(PATH)
+.ENDIF # "$(GUI)"=="WNT" && "$(USE_SHELL)"!="4nt"
.EXPORT : PATH
#override