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
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user