From: Paul Eggert Date: Fri, 25 Dec 2020 10:15:45 +0000 (-0800) Subject: Adjust test_module to recent Gnulib changes X-Git-Tag: emacs-28.0.90~4578 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5880c7caab394eac55c44d4be42b2f45dbd9bc53;p=emacs.git Adjust test_module to recent Gnulib changes * test/Makefile.in ($(test_module)): Also compile lib/free.c if it is needed to define rpl_free. --- diff --git a/test/Makefile.in b/test/Makefile.in index 67d203df297..b6cf6493e32 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -268,6 +268,7 @@ $(test_module): $(test_module:${SO}=.c) ../src/emacs-module.h $(AM_V_CCLD)$(CC) -shared $(CPPFLAGS) $(MODULE_CFLAGS) $(LDFLAGS) \ -o $@ $< $(LIBGMP) \ $(and $(GMP_H),$(srcdir)/../lib/mini-gmp-gnulib.c) \ + $(if $(OMIT_GNULIB_MODULE_free-posix),,$(srcdir)/../lib/free.c) \ $(srcdir)/../lib/timespec.c $(srcdir)/../lib/gettime.c endif