[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 553220f 2/2: Add missing GMP library to test module
From: |
Philipp Stephani |
Subject: |
[Emacs-diffs] master 553220f 2/2: Add missing GMP library to test module. |
Date: |
Wed, 24 Apr 2019 17:14:41 -0400 (EDT) |
branch: master
commit 553220fca670ec13180e0763bc9338fbf8ed4b30
Author: Philipp Stephani <address@hidden>
Commit: Philipp Stephani <address@hidden>
Add missing GMP library to test module.
* test/Makefile.in (GMP_LIB): Define variable.
($(test_module)): Use it.
---
test/Makefile.in | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/test/Makefile.in b/test/Makefile.in
index ce6ce04..2282ccd 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -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