ref: 0d45ec46e3d1daacf4f908dc6ba6f44ad551f997
parent: 70c6e39999776954d3478c2ab35369a9a7a3dcd4
author: Paul Brossier <piem@piem.org>
date: Thu Apr 21 22:24:59 EDT 2016
Makefile: copy lib to ~/lib (osx) and set LD_LIBRARY_PATH (linux)
--- a/Makefile
+++ b/Makefile
@@ -25,7 +25,9 @@
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