feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5
Last change
on this file since b701179 was
b37e2b2,
checked in by Paul Brossier <piem@piem.org>, 7 years ago
|
scripts/setenv_local.sh: clean up, only set LD_LIBRARY_PATH
|
-
Property mode set to
100644
|
File size:
562 bytes
|
Line | |
---|
1 | #! /usr/bin/env bash |
---|
2 | |
---|
3 | # This script sets the LD_LIBRARY_PATH environment variable to ./build/src to |
---|
4 | # execute aubio binaries without installing libaubio. |
---|
5 | # |
---|
6 | # Usage: $ source scripts/setenv_local.sh |
---|
7 | # |
---|
8 | # Note: on macOs, the variable is DYLD_LIBRARY_PATH |
---|
9 | |
---|
10 | AUBIODIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )" |
---|
11 | |
---|
12 | AUBIOLIB=$AUBIODIR/build/src |
---|
13 | |
---|
14 | if [ "$(uname)" == "Darwin" ]; then |
---|
15 | export DYLD_LIBRARY_PATH=$AUBIOLIB |
---|
16 | echo export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH |
---|
17 | else |
---|
18 | export LD_LIBRARY_PATH=$AUBIOLIB |
---|
19 | echo export LD_LIBRARY_PATH=$LD_LIBRARY_PATH |
---|
20 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.