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.
This commit is contained in:
Paul Eggert 2020-12-25 02:15:45 -08:00
parent ec8a17e938
commit 5880c7caab

View file

@ -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