From 27dae84ed92f1ef0300263091972338d12e78348 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 18 Oct 2025 19:06:52 +0200 Subject: New upstream version 1.4.1 --- lib/Makefile.am | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'lib/Makefile.am') diff --git a/lib/Makefile.am b/lib/Makefile.am index bbe61009..f1445800 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -1,5 +1,5 @@ ## Makefile for the lib subdirectory of GNU libunistring. -## Copyright (C) 2009-2024 Free Software Foundation, Inc. +## Copyright (C) 2009-2025 Free Software Foundation, Inc. ## ## This program is free software: you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by @@ -239,8 +239,10 @@ EXTRA_DIST += libunistring.sym declared.sh # Tell the mingw or Cygwin linker which symbols to export. if WOE32DLL libunistring_la_SOURCES += ../woe32dll/unistring-exports.c +if !PLATFORM_IS_MSVC libunistring_la_LDFLAGS += -Wl,--export-all-symbols endif +endif # Hide undesired symbols that are defined by libunistring_la_SOURCES or # libunistring_la_LIBADD from the global namespace, by prefixing them with @@ -265,9 +267,9 @@ config.h: $(BUILT_SOURCES) $(srcdir)/libunistring.sym case $$f in \ *.res.lo ) ;; \ *.c | *.$(OBJEXT) | *.lo ) \ - sf=`echo "$$f" | sed -e 's,\\.[^.]*$$,,'`.c; \ + sf=`echo "$$f" | sed -e 's,^libunistring_la-,,' -e 's,\\.[^.]*$$,,'`.c; \ test -f $$sf || sf=$(srcdir)/$$sf; \ - of=`echo "$$f" | sed -e 's,^.*/,,' -e 's,\\.[^.]*$$,,'`.$(OBJEXT); \ + of=`echo "$$f" | sed -e 's,^.*/,,' -e 's,^libunistring_la-,,' -e 's,\\.[^.]*$$,,'`.$(OBJEXT); \ echo "$(COMPILE) -c $$sf" 1>&6; \ $(COMPILE) -c $$sf || { rm -f config.h; exit 1; }; \ sh ./exported.sh $$of 1>&5; \ @@ -311,7 +313,7 @@ AM_CPPFLAGS += -DDEPENDS_ON_LIBICONV=1 # Libtool's library version information for libunistring. # See the libtool documentation, section "Library interface versions". LTV_CURRENT=7 -LTV_REVISION=0 +LTV_REVISION=1 LTV_AGE=2 # How to build libunistring.la. -- cgit v1.2.3