diff options
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/Library_npsoplugin.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/extensions/Library_npsoplugin.mk b/extensions/Library_npsoplugin.mk index 3c6854692b23..2c5ad4f6c792 100644 --- a/extensions/Library_npsoplugin.mk +++ b/extensions/Library_npsoplugin.mk @@ -86,7 +86,11 @@ $(eval $(call gb_Library_add_defs,npsoplugin,\ -DENGLISH \ )) -$(eval $(call gb_Library_add_nativeres,npsoplugin,npsoplugin_res)) +# Trick to get rid of the default.res to avoid duplicate VERSION +# resource: Set NATIVERES for npsoplugin to be *only* npsoplugin_res + +$(eval $(call gb_LinkTarget_get_target,npsoplugin) : $(call gb_WinResTarget_get_target,npsoplugin_res)) +$(eval $(call gb_LinkTarget_get_target,npsoplugin) : NATIVERES := $(call gb_WinResTarget_get_target,npsoplugin_res)) endif # GUI=WNT |