Commit 553220fc authored by Philipp Stephani's avatar Philipp Stephani

Add missing GMP library to test module.

* test/Makefile.in (GMP_LIB): Define variable.
($(test_module)): Use it.
parent d2e1bac4
Pipeline #1445 passed with stage
in 68 minutes and 15 seconds
......@@ -256,6 +256,7 @@ endif
HYBRID_MALLOC = @HYBRID_MALLOC@
LIBEGNU_ARCHIVE = ../lib/lib$(if $(HYBRID_MALLOC),e)gnu.a
GMP_LIB = @GMP_LIB@
# Note: emacs-module.h is generated from emacs-module.h.in, hence we
# look in ../src, not $(srcdir)/../src.
......@@ -268,7 +269,7 @@ src/emacs-module-tests.log: $(test_module)
$(test_module): $(test_module:${SO}=.c) ../src/emacs-module.h $(LIBEGNU_ARCHIVE)
$(AM_V_at)${MKDIR_P} $(dir $@)
$(AM_V_CCLD)$(CC) -shared $(CPPFLAGS) $(MODULE_CFLAGS) $(LDFLAGS) \
-o $@ $< $(LIBEGNU_ARCHIVE)
-o $@ $< $(LIBEGNU_ARCHIVE) $(GMP_LIB)
endif
## Check that there is no 'automated' subdirectory, which would
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment