diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2012-03-09 19:34:28 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2012-03-10 21:23:18 +0100 |
commit | 156202b06270a90a4b73370d04401486145076d2 (patch) | |
tree | dc6e5bda1d418990d8b8f7cb29ef231b11d3ae40 /extensions/Library_npsoplugin.mk | |
parent | embedserv: convert to gbuild (diff) | |
download | core-156202b06270a90a4b73370d04401486145076d2.tar.gz core-156202b06270a90a4b73370d04401486145076d2.zip |
extensions: export npsoplugin's symbols
Diffstat (limited to 'extensions/Library_npsoplugin.mk')
-rw-r--r-- | extensions/Library_npsoplugin.mk | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/extensions/Library_npsoplugin.mk b/extensions/Library_npsoplugin.mk index 2c5ad4f6c792..a4d3e3b3ea11 100644 --- a/extensions/Library_npsoplugin.mk +++ b/extensions/Library_npsoplugin.mk @@ -62,7 +62,7 @@ endif endif # GUI=UNX -ifeq ($(GUI),WNT) +ifeq ($(OS),WNT) $(eval $(call gb_Library_add_linked_static_libs,npsoplugin,\ ooopathutils \ @@ -86,6 +86,29 @@ $(eval $(call gb_Library_add_defs,npsoplugin,\ -DENGLISH \ )) +ifeq ($(COM),MSC) +$(eval $(call gb_Library_add_ldflags,npsoplugin,\ + /EXPORT:NPP_GetMIMEDescription \ + /EXPORT:NPP_Initialize \ + /EXPORT:NPP_Shutdown \ + /EXPORT:NPP_New \ + /EXPORT:NPP_Destroy \ + /EXPORT:NPP_SetWindow \ + /EXPORT:NPP_NewStream \ + /EXPORT:NPP_WriteReady \ + /EXPORT:NPP_Write \ + /EXPORT:NPP_DestroyStream \ + /EXPORT:NPP_StreamAsFile \ + /EXPORT:NPP_URLNotify \ + /EXPORT:NPP_Print \ + /EXPORT:NPP_Shutdown \ + /EXPORT:NP_GetEntryPoints \ + /EXPORT:NP_Initialize \ + /EXPORT:NP_Shutdown \ + /EXPORT:NP_GetMIMEDescription \ +)) +endif + # Trick to get rid of the default.res to avoid duplicate VERSION # resource: Set NATIVERES for npsoplugin to be *only* npsoplugin_res @@ -99,4 +122,4 @@ $(eval $(call gb_Library_add_exception_objects,npsoplugin,\ extensions/source/nsplugin/source/npshell \ )) -# vim:set shiftwidth=4 softtabstop=4 expandtab: +# vim:set shiftwidth=4 softtabstop=4 noexpandtab: |