MSYS2-packages/libunistring/libunistring-0.9.3-2.src.patch
Christoph Reiter fbdb8728de libunistring: Update to 1.2
patch refresh
2024-04-24 07:49:35 +02:00

45 lines
1.7 KiB
Diff

--- libunistring-1.2/configure.ac.orig 2024-04-24 07:44:34.887042000 +0200
+++ libunistring-1.2/configure.ac 2024-04-24 07:46:09.763534800 +0200
@@ -64,7 +64,7 @@
dnl On native Windows and Cygwin, we can activate special Makefile rules which
dnl add version information to the shared libraries and executables.
case "$host_os" in
- mingw* | windows* | cygwin*) is_woe32=yes ;;
+ mingw* | windows*) is_woe32=yes ;;
*) is_woe32=no ;;
esac
AM_CONDITIONAL([WOE32], [test $is_woe32 = yes])
@@ -83,7 +83,7 @@
dnl exported variables _also_ in the static library.
if test "$enable_shared" = yes; then
case "$host_os" in
- mingw* | windows* | cygwin*) is_woe32dll=yes ;;
+ mingw* | windows*) is_woe32dll=yes ;;
*) is_woe32dll=no ;;
esac
else
--- libunistring-1.0/m4/woe32-dll.m4.orig 2022-05-13 23:14:12.117697400 +0200
+++ libunistring-1.0/m4/woe32-dll.m4 2022-05-13 23:14:53.500794800 +0200
@@ -30,7 +30,7 @@
[
AC_REQUIRE([AC_CANONICAL_HOST])
case "$host_os" in
- mingw* | cygwin*)
+ mingw*)
AC_CACHE_CHECK([for auto-import of symbols],
[gl_cv_ld_autoimport],
[dnl --disable-auto-import is unsupported in MSVC and in MSVC/clang.
--- libunistring-1.0/lib/Makefile.am.orig 2022-05-14 08:56:53.657968900 +0200
+++ libunistring-1.0/lib/Makefile.am 2022-05-14 08:57:05.616166100 +0200
@@ -265,8 +265,8 @@
# Tell the mingw or Cygwin linker which symbols to export.
if WOE32DLL
libunistring_la_SOURCES += ../woe32dll/unistring-exports.c
-libunistring_la_LDFLAGS += -Wl,--export-all-symbols
endif
+libunistring_la_LDFLAGS += -Wl,--export-all-symbols
# Hide undesired symbols that are defined by libunistring_la_SOURCES or
# libunistring_la_LIBADD from the global namespace, by prefixing them with