From 863b3335436be246fd00ad2aa264d474afc1c48c Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Tue, 13 Jun 2017 15:41:56 -0400 Subject: [PATCH] * test/Makefile.in (src/emacs-module-tests.log): Out-of-tree fix. --- test/Makefile.in | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/test/Makefile.in b/test/Makefile.in index 4998338b920..5d8ec65529a 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -202,10 +202,9 @@ endif MODULE_CFLAGS = -I$(srcdir)/../src $(FPIC_CFLAGS) $(PROFILING_CFLAGS) \ $(WARN_CFLAGS) $(WERROR_CFLAGS) $(CFLAGS) -test_module_name := mod-test@MODULES_SUFFIX@ -test_module := $(test_module_dir)/$(test_module_name) -$(srcdir)/src/emacs-module-tests.log: $(test_module) -$(test_module): $(test_module_dir)/mod-test.c $(srcdir)/../src/emacs-module.h +test_module = $(test_module_dir)/mod-test${SO} +src/emacs-module-tests.log: $(test_module) +$(test_module): $(test_module:${SO}=.c) $(srcdir)/../src/emacs-module.h $(AM_V_CCLD)$(CC) -shared $(CPPFLAGS) $(MODULE_CFLAGS) $(LDFLAGS) \ -o $@ $< endif -- 2.39.2