Project Info Name.......: gnu-hello
Description: GNU Hello


gnu-hello       
Info
Commit...:3c20d08e3ee036fa8178cce066fd087a93f7c835
Author...:Collin Funk
Committer:Collin Funk
Date.....:Tue Mar 17 19:53:08 2026 -0700
Parents..:bc5ba180d8408f339edccea2534c548aee53d764

Message
build: use Gnulib's lib-ignore module

* Makefile.am (AM_LDFLAGS): New variable.
* bootstrap.conf (gnulib_modules): Add lib-ignore. Sort module list
using 'LC_ALL=C sort'.

Changes
diff --git a/Makefile.am b/Makefile.am
line changes: +3/-0
index d1fc912..73dc97a
--- a/Makefile.am
+++ b/Makefile.am
@@ -22,6 +22,9 @@ ACLOCAL_AMFLAGS = -I m4
 
 AM_CPPFLAGS = -Ilib -I$(top_srcdir)/lib -Isrc -I$(top_srcdir)/src
 
+# Tell the linker to omit references to unused shared libraries.
+AM_LDFLAGS = $(IGNORE_UNUSED_LIBRARIES_CFLAGS)
+
 # Additional files to distribute.
 EXTRA_DIST = \
 	README-dev \

diff --git a/bootstrap.conf b/bootstrap.conf
line changes: +2/-1
index 4a45c26..782c1c7
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -21,8 +21,8 @@ gnulib_modules="
     announce-gen
     closeout
     configmake
-    do-release-commit-and-tag
     dirname
+    do-release-commit-and-tag
     error
     gendocs
     getopt-gnu
@@ -30,6 +30,7 @@ gnulib_modules="
     gitlog-to-changelog
     gnu-web-doc-update
     gnupload
+    lib-ignore
     maintainer-makefile
     mbsrtowcs
     mbszero

This website is licensed under AGPL-3.0. Feel free to copy!