summaryrefslogtreecommitdiff
path: root/shell/Library_propertyhdl.mk
diff options
context:
space:
mode:
Diffstat (limited to 'shell/Library_propertyhdl.mk')
-rw-r--r--shell/Library_propertyhdl.mk19
1 files changed, 6 insertions, 13 deletions
diff --git a/shell/Library_propertyhdl.mk b/shell/Library_propertyhdl.mk
index 250a53004516..8b7d7ff732b4 100644
--- a/shell/Library_propertyhdl.mk
+++ b/shell/Library_propertyhdl.mk
@@ -59,6 +59,7 @@ $(eval $(call gb_Library_use_libraries,propertyhdl,\
gdi32 \
gdiplus \
kernel32 \
+ msvcprt \
ole32 \
oleaut32 \
propsys \
@@ -67,24 +68,16 @@ $(eval $(call gb_Library_use_libraries,propertyhdl,\
uuid \
))
-ifneq ($(COM),GCC)
-
-$(eval $(call gb_Library_use_libraries,propertyhdl,\
- msvcprt \
-))
-
-ifneq ($(PRODUCT),full)
-$(eval $(call gb_Library_use_libraries,propertyhdl,\
-))
-endif
-
-endif
-
$(eval $(call gb_Library_use_static_libraries,propertyhdl,\
shell_xmlparser \
shlxthandler_common \
))
+$(eval $(call gb_Library_add_ldflags,propertyhdl,\
+ /EXPORT:DllCanUnloadNow,PRIVATE \
+ /EXPORT:DllGetClassObject,PRIVATE \
+))
+
$(eval $(call gb_Library_add_exception_objects,propertyhdl,\
shell/source/win32/shlxthandler/prophdl/propertyhdl \
))