aboutsummaryrefslogtreecommitdiffstats
path: root/meson/manual tests/4 standalone binaries/myapp.sh
diff options
context:
space:
mode:
Diffstat (limited to 'meson/manual tests/4 standalone binaries/myapp.sh')
-rwxr-xr-xmeson/manual tests/4 standalone binaries/myapp.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/meson/manual tests/4 standalone binaries/myapp.sh b/meson/manual tests/4 standalone binaries/myapp.sh
new file mode 100755
index 000000000..319148353
--- /dev/null
+++ b/meson/manual tests/4 standalone binaries/myapp.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+cd "${0%/*}"
+
+if [ `uname` == 'Darwin' ]; then
+ ./myapp
+else
+ export LD_LIBRARY_PATH="`pwd`/lib"
+ bin/myapp
+fi