diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-02-28 23:09:18 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-02-28 23:11:24 +0100 |
commit | 2a601c5665602d0e0f349145a64d9858a93433b3 (patch) | |
tree | ac14c8d1e9e17811929ece9691cb7ec62bd88b37 /extensions | |
parent | 25418b6ed978e635a417d385bcb1678cc8e8370d (diff) |
try harder when quoting for rc
Apparently the TYPELIB has problems with paths if they contain
some "special" characters like "-", unless it is quoted. It can't seem
to be able to concatenate quoted strings properly either. So build
up the whole filename in the makefile and quote/escape extensively for both
shell and rc.
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/WinResTarget_activex.mk | 2 | ||||
-rw-r--r-- | extensions/source/activex/so_activex.rc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/extensions/WinResTarget_activex.mk b/extensions/WinResTarget_activex.mk index 41db1dba5a8c..aab7a6c88b67 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 /,\\,$(WORKDIR)/CustomTarget/extensions/source/activex/idl) \ + -DSO_ACTIVEX_TLB=\"$(subst /,\\\\,$(WORKDIR)/CustomTarget/extensions/source/activex/idl/so_activex.tlb\") \ )) # vim:set noet sw=4 ts=4: diff --git a/extensions/source/activex/so_activex.rc b/extensions/source/activex/so_activex.rc index 4f7246e67b75..2928c02c97d3 100644 --- a/extensions/source/activex/so_activex.rc +++ b/extensions/source/activex/so_activex.rc @@ -118,7 +118,7 @@ END // Generated from the TEXTINCLUDE 3 resource. // -1 TYPELIB SO_ACTIVEX_TLB_DIR\so_activex.tlb +1 TYPELIB SO_ACTIVEX_TLB ///////////////////////////////////////////////////////////////////////////// #endif // not APSTUDIO_INVOKED |