aboutsummaryrefslogtreecommitdiffstats
path: root/meson/manual tests/4 standalone binaries/myapp.sh
blob: 31914835332016e58b9fda2d97e69ce2365ac500 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

cd "${0%/*}"

if [ `uname` == 'Darwin' ]; then
    ./myapp
else
    export LD_LIBRARY_PATH="`pwd`/lib"
    bin/myapp
fi