>From 9d0a3f8cf1e0be1c352a7546d09105fb5802cd9f Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 1 Mar 2021 01:06:44 +0100 Subject: [PATCH] Enforce link error when not linking with -lgc on AIX. * libpoke/Makefile.am (libpoke_la_LDFLAGS): Add options -lc -no-undefined. --- libpoke/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libpoke/Makefile.am b/libpoke/Makefile.am index 741cd6d..dc191ab 100644 --- a/libpoke/Makefile.am +++ b/libpoke/Makefile.am @@ -188,7 +188,8 @@ libpoke_la_CFLAGS = -Wall $(BDW_GC_CFLAGS) $(LIBNBD_CFLAGS) libpoke_la_LIBADD = ../gl-libpoke/libgnu.la libpvmjitter.la \ $(BDW_GC_LIBS) \ $(LIBNBD_LIBS) -libpoke_la_LDFLAGS = -version-info $(LTV_CURRENT):$(LTV_REVISION):$(LTV_AGE) +libpoke_la_LDFLAGS = -version-info $(LTV_CURRENT):$(LTV_REVISION):$(LTV_AGE) \ + -lc -no-undefined # Integration with jitter. -- 2.7.4