diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-09-18 17:25:55 +0200 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2018-09-18 23:18:01 +0200 |
commit | 28b4f4aeaf160c7721dfecf5bd2445d7dbc6f01c (patch) | |
tree | c281b491f1792d1a509294904911811324093e41 /setup_native/Library_sellangmsi.mk | |
parent | Size aSz constructed but not used (diff) | |
download | core-28b4f4aeaf160c7721dfecf5bd2445d7dbc6f01c.tar.gz core-28b4f4aeaf160c7721dfecf5bd2445d7dbc6f01c.zip |
Get rid of Windows .def files in setup_native, use __declspec(dllexport)
For one, replacing the dated .def files with equivalent functionality should be
a good move all by itself. And for another, it paves the way for using
loplugin:external with clang-cl on Windows, which uses the heuristic of not
warning about functions that are explicitly marked as __declspec(dllexport).
Change-Id: I6efd50a8c5ce2a166ca0dd4e5f472118f3f9a071
Reviewed-on: https://gerrit.libreoffice.org/60691
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'setup_native/Library_sellangmsi.mk')
-rw-r--r-- | setup_native/Library_sellangmsi.mk | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/setup_native/Library_sellangmsi.mk b/setup_native/Library_sellangmsi.mk index 04f8f6edbc46..3289f8fb04d3 100644 --- a/setup_native/Library_sellangmsi.mk +++ b/setup_native/Library_sellangmsi.mk @@ -22,7 +22,6 @@ $(eval $(call gb_Library_add_cxxflags,sellangmsi,\ )) $(eval $(call gb_Library_add_ldflags,sellangmsi,\ - /DEF:$(SRCDIR)/setup_native/source/win32/customactions/sellang/sellang.def \ /NODEFAULTLIB \ )) |