]> granicus.if.org Git - recode/commitdiff
tests/Makefile.am: add EXEEXT suffix to RECODE for Windows
authorReuben Thomas <rrt@sc3d.org>
Mon, 29 Jan 2018 13:52:21 +0000 (13:52 +0000)
committerReuben Thomas <rrt@sc3d.org>
Mon, 29 Jan 2018 15:22:53 +0000 (15:22 +0000)
It is only needed when running from Python.

tests/Makefile.am

index 9e8a285cd097ad1e87442944dd06766eb3e4f126..4c2901488f814eab648559d6ac9fbbc696506092 100644 (file)
@@ -34,7 +34,7 @@ DISTCLEANFILES = Recode.c
 check-local: Recode@shlibext@
        if test -n "$(VALGRIND)"; then export VALGRIND='$(VALGRIND) --suppressions=$(srcdir)/valgrind-python.supp'; fi; \
        export LD_LIBRARY_PATH=$(top_builddir)/src/@objdir@; \
-       RECODE=$(top_builddir)/src/recode PYTHONPATH=.:$(srcdir) \
+       RECODE=$(top_builddir)/src/recode$(EXEEXT) PYTHONPATH=.:$(srcdir) \
          $$VALGRIND $(PYTHON) $(srcdir)/pytest $(LIMIT) $(srcdir)/t*.py
 
 Recode@shlibext@: Recode.c setup.py