summaryrefslogtreecommitdiff
path: root/solenv/inc/unitools.mk
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-10-06 13:36:44 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-10-06 13:36:44 +0000
commita7c32e28cbbf1ec73e5f8bb87c203958ac49d70b (patch)
tree7c1af11cf595f1acada80b73fb76cf791c7c2888 /solenv/inc/unitools.mk
parentac0da064cdb28790ec33522b5b290fee47cdf1a1 (diff)
#i57022#
Diffstat (limited to 'solenv/inc/unitools.mk')
-rw-r--r--solenv/inc/unitools.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/solenv/inc/unitools.mk b/solenv/inc/unitools.mk
index 9ffeeacdf348..7e8b41dd5be9 100644
--- a/solenv/inc/unitools.mk
+++ b/solenv/inc/unitools.mk
@@ -231,3 +231,11 @@ ADJUSTVISIBILITY*:=adjustvisibility
CONVERT*:=$(PERL) $(SOLARENV)$/bin$/leconvert.pl
EXECTEST := $(PERL) -w $(SOLARENV)$/bin$/exectest.pl
GCCINSTLIB:=$(PERL) -w $(SOLARENV)$/bin$/gccinstlib.pl
+
+# The dmake $(PWD) variable and the tcsh pwd command both apparantly produce
+# paths with symlinks resolved, while the bash pwd command by default produces
+# paths with unresolved symlinks, so that computing PATH_IN_MODULE in
+# settings.mk would fail without the -P flag to the bash pwd command:
+.IF "$(USE_SHELL)" == "bash"
+PWDFLAGS = -P
+.ENDIF