summaryrefslogtreecommitdiffstats
path: root/extensions/WinResTarget_activex.mk
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-02-28 20:17:25 +0100
committerMichael Stahl <mstahl@redhat.com>2013-02-28 20:17:25 +0100
commit2bb13b83e40aec362964d26921a3fc1660a5da2f (patch)
tree17641c46aab47628eea7d6d49c255a02bba89ef2 /extensions/WinResTarget_activex.mk
parentsfx2: restore weird SfxStack::nLevel that was... (diff)
downloadcore-2bb13b83e40aec362964d26921a3fc1660a5da2f.tar.gz
core-2bb13b83e40aec362964d26921a3fc1660a5da2f.zip
extensions: WinResTarget_activex: use absolute paths
This does not build from the top-level because it uses a relative path; the command invoked from "make" runs in the top-level dir while the command invoked from "make extensions" runs in the extensions/ dir, so we have to use absolute path here. Presumably the weird substitution going on here is just a relic from the days when WORKDIR was variously converted with cygpath. Change-Id: I73a61699ec0394bd40e63864f3e9f566c7d28a32
Diffstat (limited to 'extensions/WinResTarget_activex.mk')
-rw-r--r--extensions/WinResTarget_activex.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/WinResTarget_activex.mk b/extensions/WinResTarget_activex.mk
index e7c87d97cccf..41db1dba5a8c 100644
--- a/extensions/WinResTarget_activex.mk
+++ b/extensions/WinResTarget_activex.mk
@@ -44,7 +44,7 @@ $(eval $(call gb_WinResTarget_set_rcfile,activex_res,extensions/source/activex/s
$(eval $(call gb_WinResTarget_add_defs,activex_res,\
$$(DEFS) \
- -DSO_ACTIVEX_TLB_DIR=$(subst /,\\,$(subst $(SRCDIR),../../..,$(WORKDIR)/CustomTarget/extensions/source/activex/idl)) \
+ -DSO_ACTIVEX_TLB_DIR=$(subst /,\\,$(WORKDIR)/CustomTarget/extensions/source/activex/idl) \
))
# vim:set noet sw=4 ts=4: