From 56f39033698b22a89571b345e5133b486822df1d Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 20 Jun 2024 21:14:24 +0930 Subject: Revert "Remove LIBINTL_DEP" This reverts commit e874cbd3879843a83e4bcc4b54cd7107387b1df6. The patch was wrong. LIBINTL_DEP is needed with an in-tree gettext. --- gold/testsuite/Makefile.am | 2 +- gold/testsuite/Makefile.in | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'gold/testsuite') diff --git a/gold/testsuite/Makefile.am b/gold/testsuite/Makefile.am index 2fb2a53..2f1348f 100644 --- a/gold/testsuite/Makefile.am +++ b/gold/testsuite/Makefile.am @@ -118,7 +118,7 @@ check_LIBRARIES = libgoldtest.a libgoldtest_a_SOURCES = test.cc testmain.cc testfile.cc DEPENDENCIES = \ - libgoldtest.a ../libgold.a ../../libiberty/libiberty.a + libgoldtest.a ../libgold.a ../../libiberty/libiberty.a $(LIBINTL_DEP) # The unittests themselves if NATIVE_OR_CROSS_LINKER diff --git a/gold/testsuite/Makefile.in b/gold/testsuite/Makefile.in index 1c7a455..9cf21df 100644 --- a/gold/testsuite/Makefile.in +++ b/gold/testsuite/Makefile.in @@ -2671,6 +2671,7 @@ LDFLAGS = @LDFLAGS@ LFS_CFLAGS = @LFS_CFLAGS@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ +LIBINTL_DEP = @LIBINTL_DEP@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LN_S = @LN_S@ @@ -2903,7 +2904,7 @@ TESTS = $(check_SCRIPTS) $(check_PROGRAMS) check_LIBRARIES = libgoldtest.a libgoldtest_a_SOURCES = test.cc testmain.cc testfile.cc DEPENDENCIES = \ - libgoldtest.a ../libgold.a ../../libiberty/libiberty.a + libgoldtest.a ../libgold.a ../../libiberty/libiberty.a $(LIBINTL_DEP) @NATIVE_OR_CROSS_LINKER_TRUE@object_unittest_SOURCES = object_unittest.cc @NATIVE_OR_CROSS_LINKER_TRUE@object_unittest_LDFLAGS = $(THREADFLAGS) -- cgit v1.1