diff options
| author | Philipp Stephani | 2019-04-24 23:14:13 +0200 |
|---|---|---|
| committer | Philipp Stephani | 2019-04-24 23:14:13 +0200 |
| commit | 553220fca670ec13180e0763bc9338fbf8ed4b30 (patch) | |
| tree | 286123cae07b48e22dfac7a0512fa462737f9ea9 | |
| parent | d2e1bac47816fa1f48482faeebf7fa562a5b0e40 (diff) | |
| download | emacs-553220fca670ec13180e0763bc9338fbf8ed4b30.tar.gz emacs-553220fca670ec13180e0763bc9338fbf8ed4b30.zip | |
Add missing GMP library to test module.
* test/Makefile.in (GMP_LIB): Define variable.
($(test_module)): Use it.
| -rw-r--r-- | test/Makefile.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Makefile.in b/test/Makefile.in index ce6ce04b8be..2282ccd951c 100644 --- a/test/Makefile.in +++ b/test/Makefile.in | |||
| @@ -256,6 +256,7 @@ endif | |||
| 256 | 256 | ||
| 257 | HYBRID_MALLOC = @HYBRID_MALLOC@ | 257 | HYBRID_MALLOC = @HYBRID_MALLOC@ |
| 258 | LIBEGNU_ARCHIVE = ../lib/lib$(if $(HYBRID_MALLOC),e)gnu.a | 258 | LIBEGNU_ARCHIVE = ../lib/lib$(if $(HYBRID_MALLOC),e)gnu.a |
| 259 | GMP_LIB = @GMP_LIB@ | ||
| 259 | 260 | ||
| 260 | # Note: emacs-module.h is generated from emacs-module.h.in, hence we | 261 | # Note: emacs-module.h is generated from emacs-module.h.in, hence we |
| 261 | # look in ../src, not $(srcdir)/../src. | 262 | # look in ../src, not $(srcdir)/../src. |
| @@ -268,7 +269,7 @@ src/emacs-module-tests.log: $(test_module) | |||
| 268 | $(test_module): $(test_module:${SO}=.c) ../src/emacs-module.h $(LIBEGNU_ARCHIVE) | 269 | $(test_module): $(test_module:${SO}=.c) ../src/emacs-module.h $(LIBEGNU_ARCHIVE) |
| 269 | $(AM_V_at)${MKDIR_P} $(dir $@) | 270 | $(AM_V_at)${MKDIR_P} $(dir $@) |
| 270 | $(AM_V_CCLD)$(CC) -shared $(CPPFLAGS) $(MODULE_CFLAGS) $(LDFLAGS) \ | 271 | $(AM_V_CCLD)$(CC) -shared $(CPPFLAGS) $(MODULE_CFLAGS) $(LDFLAGS) \ |
| 271 | -o $@ $< $(LIBEGNU_ARCHIVE) | 272 | -o $@ $< $(LIBEGNU_ARCHIVE) $(GMP_LIB) |
| 272 | endif | 273 | endif |
| 273 | 274 | ||
| 274 | ## Check that there is no 'automated' subdirectory, which would | 275 | ## Check that there is no 'automated' subdirectory, which would |