]> git.eshelyaron.com Git - emacs.git/commitdiff
Adjust test_module to recent Gnulib changes
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 25 Dec 2020 10:15:45 +0000 (02:15 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 25 Dec 2020 10:36:02 +0000 (02:36 -0800)
* test/Makefile.in ($(test_module)): Also compile lib/free.c
if it is needed to define rpl_free.

test/Makefile.in

index 67d203df2976604ae76461b5a8dfe98cbde1bccb..b6cf6493e32d7fa33110b78bae51a72ee5041c15 100644 (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