From: Paul Brossier Date: Fri, 22 Apr 2016 00:24:59 +0000 (+0200) Subject: Makefile: copy lib to ~/lib (osx) and set LD_LIBRARY_PATH (linux) X-Git-Tag: 0.4.4~300^2~261 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=0d45ec46e3d1daacf4f908dc6ba6f44ad551f997;p=aubio.git Makefile: copy lib to ~/lib (osx) and set LD_LIBRARY_PATH (linux) --- diff --git a/Makefile b/Makefile index 779a0d54..477aba09 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,9 @@ build_python: cd python && ./setup.py build test_python: - cd python && ./setup.py install && ./tests/run_all_tests + cd python && ./setup.py install + [ -f build/src/libaubio.4.dylib ] && mkdir -p ~/lib && cp -prv build/src/libaubio.4.dylib ~/lib + LD_LIBRARY_PATH=$(PWD)/build/src python/tests/run_all_tests clean_python: cd python && ./setup.py clean