Thanks to Ryan Schmidt for the fix.
script:
- ./bootstrap
- ./configure --enable-silent-rules CC=$COMPILER
- - make
- # The Cython-built Python extension doesn’t work without make install on macOS
- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then make install && make check ; else make distcheck ; fi
+ - make && make distcheck
check-local: Recode@pyextext@
if test -n "$(VALGRIND)"; then export VALGRIND='$(VALGRIND) --suppressions=$(srcdir)/valgrind-python.supp'; fi; \
export LD_LIBRARY_PATH=$(top_builddir)/src/@objdir@; \
+ export DYLD_LIBRARY_PATH=$(top_builddir)/src/@objdir@; \
RECODE=$(top_builddir)/src/recode$(EXEEXT) PYTHONPATH=.:$(srcdir) \
$$VALGRIND $(PYTHON) $(srcdir)/pytest $(LIMIT) $(srcdir)/t*.py