summaryrefslogtreecommitdiffstats
path: root/debian/patches/unowinreg-static-libgcc.diff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:52:12 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:52:12 +0000
commit974c21ad33bfa1d93d5ae795556d35ca7eb36e68 (patch)
tree1a0d7c0258aadfcd993c4bffa454bcf117b382cf /debian/patches/unowinreg-static-libgcc.diff
parentAdding upstream version 1:7.0.4. (diff)
downloadlibreoffice-77a18997f4d4711b28e4d41031e11138783b1724.tar.xz
libreoffice-77a18997f4d4711b28e4d41031e11138783b1724.zip
Adding debian version 1:7.0.4-4+deb11u8.debian/1%7.0.4-4+deb11u8
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/unowinreg-static-libgcc.diff')
-rw-r--r--debian/patches/unowinreg-static-libgcc.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/patches/unowinreg-static-libgcc.diff b/debian/patches/unowinreg-static-libgcc.diff
new file mode 100644
index 000000000..d3e600f6b
--- /dev/null
+++ b/debian/patches/unowinreg-static-libgcc.diff
@@ -0,0 +1,13 @@
+diff --git a/odk/CustomTarget_unowinreg.mk b/odk/CustomTarget_unowinreg.mk
+index 3a46ddfd6860..a847e1d6bb38 100644
+--- a/odk/CustomTarget_unowinreg.mk
++++ b/odk/CustomTarget_unowinreg.mk
+@@ -19,7 +19,7 @@ $(call gb_CustomTarget_get_workdir,odk/unowinreg)/unowinreg.dll : \
+ $(if $(filter FREEBSD,$(OS)),-I$(JAVA_HOME)/include/freebsd \
+ -I$(JAVA_HOME)/include/bsd -I$(JAVA_HOME)/include/linux,\
+ $(if $(filter NETBSD,$(OS)),-I$(JAVA_HOME)/include/netbsd))) \
+- -shared -o $@ $< \
++ -shared -static-libgcc -o $@ $< \
+ -Wl,--kill-at -lkernel32 -ladvapi32 && \
+ $(MINGWSTRIP) $@
+