]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Update after gnulib changed.
authorBruno Haible <bruno@clisp.org>
Mon, 3 Feb 2025 23:50:06 +0000 (00:50 +0100)
committerBruno Haible <bruno@clisp.org>
Mon, 3 Feb 2025 23:50:06 +0000 (00:50 +0100)
* gettext-tools/libgettextpo/Makefile.am (config.h): Remove leading part of the
elements of $(libgnu_la_LIBADD).

gettext-tools/libgettextpo/Makefile.am

index 34a930e28289e7418eaa4d4292376bcb3e7f28a8..f6e04f19b6ffec7e45045b99d2ce72e7368fc32f 100644 (file)
@@ -178,7 +178,7 @@ config.h: $(BUILT_SOURCES)
            for f in $(libgettextpo_la_AUXSOURCES) $(libgnu_la_SOURCES) $(libgnu_la_LIBADD); do \
              case $$f in \
                *.c | *.$(OBJEXT) | *.lo ) \
-                 sf=`echo "$$f" | sed -e 's,\\.[^.]*$$,,'`.c; \
+                 sf=`echo "$$f" | sed -e 's,^libgnu_la-,,' -e 's,\\.[^.]*$$,,'`.c; \
                  test -f $$sf || sf=$(srcdir)/$$sf; \
                  of=`echo "$$f" | sed -e 's,^.*/,,' -e 's,\\.[^.]*$$,,'`.$(OBJEXT); \
                  $(COMPILE) $(DEFS) $(GL_CFLAG_INHIBIT_WARNINGS) -c $$sf || { rm -f config.h; exit 1; }; \