diff options
Diffstat (limited to 'debian/patches/unowinreg-static-libgcc.diff')
-rw-r--r-- | debian/patches/unowinreg-static-libgcc.diff | 13 |
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) $@ + |