diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2015-12-05 20:37:41 +1000 |
---|---|---|
committer | Matúš Kukan <matus@libreoffice.org> | 2015-12-08 19:34:59 +0000 |
commit | 3149c04bb7fd79ae1b206a257b8195a209fa34c7 (patch) | |
tree | 6b9fd226c14f2734c960d687660e203230919ad2 /shell/Library_ooofilt_x64.mk | |
parent | merge some Palm text format filters (diff) | |
download | core-3149c04bb7fd79ae1b206a257b8195a209fa34c7.tar.gz core-3149c04bb7fd79ae1b206a257b8195a209fa34c7.zip |
Resolve Linker Warning LNK4104
See https://msdn.microsoft.com/en-us/library/e821azx1.aspx
Some export symbols should be PRIVATE
Also, don't export DLLMain. It is internal function
used by CRT, and not intended to be exported.
Change-Id: I48139b985aa2ee499c2005d8b0d966a2cc6dcd0c
Reviewed-on: https://gerrit.libreoffice.org/20419
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Matúš Kukan <matus@libreoffice.org>
Diffstat (limited to 'shell/Library_ooofilt_x64.mk')
-rw-r--r-- | shell/Library_ooofilt_x64.mk | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/shell/Library_ooofilt_x64.mk b/shell/Library_ooofilt_x64.mk index 26f85cefc6b0..a9f4cd5b1be0 100644 --- a/shell/Library_ooofilt_x64.mk +++ b/shell/Library_ooofilt_x64.mk @@ -56,10 +56,7 @@ $(eval $(call gb_Library_use_static_libraries,ooofilt_x64,\ )) $(eval $(call gb_Library_add_ldflags,ooofilt_x64,\ - /EXPORT:DllCanUnloadNow \ - /EXPORT:DllGetClassObject \ - /EXPORT:DllRegisterServer \ - /EXPORT:DllUnregisterServer \ + /DEF:$(SRCDIR)/shell/source/win32/shlxthandler/ooofilt/ooofilt.def \ /NODEFAULTLIB:libcmt.lib \ )) |