gbranden pushed a commit to branch master
in repository groff.

commit 2b451ce6765e92e11ae80e420352c9716216b908
Author: Bruno Haible <[email protected]>
AuthorDate: Tue Jan 20 08:27:29 2026 +0100

    [libgroff]: Fix incorrect archive generation.
    
    * src/libs/libgroff/libgroff.am: Drop `libgroff_a_LIBADD` macro
      definition.  It was used incorrectly to add "lib/libgnu.a" to
      "libgroff.a", but that's invalid.  Archives used for static linking
      cannot nest.
    
    [Partially reverts commit 0d0dd80a78, 10 December, by me.  I implemented
    this as a hack to try to solve a Solaris 10 build problem.  But it's
    causing problems elsewhere.  If the Solaris 10 problem raises its head
    again, we'll have to adapt in a more correct way.  --GBR]
---
 ChangeLog                     | 7 +++++++
 src/libs/libgroff/libgroff.am | 2 --
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 9bbbd7eac..4698f7c28 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2026-01-20  Bruno Haible <[email protected]>
+
+       * src/libs/libgroff/libgroff.am: Drop `libgroff_a_LIBADD` macro
+       definition.  It was used incorrectly to add "lib/libgnu.a" to
+       "libgroff.a", but that's invalid.  Archives used for static
+       linking cannot nest.
+
 2026-01-20  Bruno Haible <[email protected]>
 
        * doc/doc.am:
diff --git a/src/libs/libgroff/libgroff.am b/src/libs/libgroff/libgroff.am
index e8b65875d..35212825d 100644
--- a/src/libs/libgroff/libgroff.am
+++ b/src/libs/libgroff/libgroff.am
@@ -75,8 +75,6 @@ libgroff_a_SOURCES += \
 endif
 nodist_libgroff_a_SOURCES = src/libs/libgroff/version.cpp
 
-libgroff_a_LIBADD = lib/libgnu.a
-
 # TODO: these .c files could be removed (use gnulib instead).
 EXTRA_DIST += \
   src/libs/libgroff/mkstemp.cpp \

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to