summaryrefslogtreecommitdiff
path: root/connectivity/Library_postgresql-sdbc-impl.mk
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/Library_postgresql-sdbc-impl.mk')
-rw-r--r--connectivity/Library_postgresql-sdbc-impl.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/connectivity/Library_postgresql-sdbc-impl.mk b/connectivity/Library_postgresql-sdbc-impl.mk
index f412c7a85df3..da6fe98d480c 100644
--- a/connectivity/Library_postgresql-sdbc-impl.mk
+++ b/connectivity/Library_postgresql-sdbc-impl.mk
@@ -50,6 +50,13 @@ ifeq ($(OS),WNT)
$(eval $(call gb_Library_use_libraries,postgresql-sdbc-impl,\
shell32 \
))
+
+ifeq ($(COM),MSC)
+$(eval $(call gb_Library_add_ldflags,postgresql-sdbc-impl,\
+ /NODEFAULTLIB:libcmt.lib \
+))
+endif
+
endif
$(eval $(call gb_Library_use_externals,postgresql-sdbc-impl,\