source: scripts/setenv_local.sh @ 832b0f64

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5
Last change on this file since 832b0f64 was b37e2b2, checked in by Paul Brossier <piem@piem.org>, 8 years ago

scripts/setenv_local.sh: clean up, only set LD_LIBRARY_PATH

  • Property mode set to 100644
File size: 562 bytes
RevLine 
[d7f3c88]1#! /usr/bin/env bash
2
[b37e2b2]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
[d7f3c88]9
10AUBIODIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )"
11
[b37e2b2]12AUBIOLIB=$AUBIODIR/build/src
[d7f3c88]13
14if [ "$(uname)" == "Darwin" ]; then
15  export DYLD_LIBRARY_PATH=$AUBIOLIB
16  echo export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH
17else
18  export LD_LIBRARY_PATH=$AUBIOLIB
19  echo export LD_LIBRARY_PATH=$LD_LIBRARY_PATH
20fi
Note: See TracBrowser for help on using the repository browser.