mirror of
https://https.git.savannah.gnu.org/git/gettext.git
synced 2026-01-26 15:39:11 +00:00
build: Fix libgettexpo linking.
* gettext-tools/libgettextpo/Makefile.am: Pass $(LTLIBUNISTRING) in libgettextpo_la_LDFLAGS, not libgettextpo_la_LIBADD. This is needed per the documentation https://www.gnu.org/software/automake/manual/html_node/Libtool-Flags.html, and also for consistency with how we handle the dependencies to libintl and libiconv.
This commit is contained in:
parent
434f126a31
commit
9dd607e866
@ -1,5 +1,5 @@
|
||||
## Makefile for the gettext-tools/libgettextpo subdirectory of GNU gettext
|
||||
## Copyright (C) 1995-1998, 2000-2016, 2019-2021 Free Software Foundation, Inc.
|
||||
## Copyright (C) 1995-1998, 2000-2016, 2019-2023 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
|
||||
@ -110,11 +110,11 @@ LTV_AGE=5
|
||||
# define an uncontrolled amount of symbols.
|
||||
# Limit the exported symbols: Don't export libgettextpo_*, except do export
|
||||
# libgettextpo_version.
|
||||
libgettextpo_la_LIBADD = libgnu.la $(WOE32_LIBADD) $(LTLIBUNISTRING)
|
||||
libgettextpo_la_LIBADD = libgnu.la $(WOE32_LIBADD)
|
||||
libgettextpo_la_LDFLAGS = \
|
||||
-version-info $(LTV_CURRENT):$(LTV_REVISION):$(LTV_AGE) \
|
||||
-rpath $(libdir) \
|
||||
@LTLIBINTL@ @LTLIBICONV@ -lc -no-undefined \
|
||||
$(LTLIBUNISTRING) @LTLIBINTL@ @LTLIBICONV@ -lc -no-undefined \
|
||||
-export-symbols-regex '^([^l]|l[^i]|li[^b]|lib[^g]|libg[^e]|libge[^t]|libget[^t]|libgett[^e]|libgette[^x]|libgettex[^t]|libgettext[^p]|libgettextp[^o]|libgettextpo[^_]|libgettextpo_version).*'
|
||||
|
||||
# Tell the mingw or Cygwin linker which symbols to export.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user