From 3149c04bb7fd79ae1b206a257b8195a209fa34c7 Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Sat, 5 Dec 2015 20:37:41 +1000 Subject: Resolve Linker Warning LNK4104 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Matúš Kukan --- shell/Library_propertyhdl.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'shell/Library_propertyhdl.mk') diff --git a/shell/Library_propertyhdl.mk b/shell/Library_propertyhdl.mk index 31f433aaaed5..148b2eab94fc 100644 --- a/shell/Library_propertyhdl.mk +++ b/shell/Library_propertyhdl.mk @@ -48,8 +48,7 @@ $(eval $(call gb_Library_use_static_libraries,propertyhdl,\ )) $(eval $(call gb_Library_add_ldflags,propertyhdl,\ - /EXPORT:DllCanUnloadNow \ - /EXPORT:DllGetClassObject \ + /DEF:$(SRCDIR)/shell/source/win32/shlxthandler/prophdl/propertyhdl.def \ /NODEFAULTLIB:libcmt.lib \ )) -- cgit