diff options
author | Kamil Rytarowski <n54@gmx.com> | 2016-07-05 15:16:39 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-10-04 22:15:33 +0200 |
commit | f9c83a04f1431c3f3a69e0c374d9187c78281825 (patch) | |
tree | 9ce5c34ca25080f75308fbc4fe960cfb420fc58f /gtk2_ardour/ardour.sh.in | |
parent | 0aaded531828a2885bdaa3f3715062f069d738a3 (diff) |
Fix ldd(1) parsing on NetBSD
* NetBSD
$ ldd /bin/cat
/bin/cat:
-lc.12 => /lib/libc.so.12
* Linux
$ ldd /usr/bin/cat
linux-vdso.so.1 => (0x0000726abb373000)
libc.so.6 => /lib64/libc.so.6 (0x0000726abafa7000)
/lib64/ld-linux-x86-64.so.2 (0x0000726abb374000)
Diffstat (limited to 'gtk2_ardour/ardour.sh.in')
-rw-r--r-- | gtk2_ardour/ardour.sh.in | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk2_ardour/ardour.sh.in b/gtk2_ardour/ardour.sh.in index 8bcad1bf6e..407c808a0e 100644 --- a/gtk2_ardour/ardour.sh.in +++ b/gtk2_ardour/ardour.sh.in @@ -23,7 +23,7 @@ fi ## Glib atomic test -GLIB=$(ldd @LIBDIR@/ardour-@VERSION@ 2> /dev/null | grep glib-2.0 | sed 's/.*=> \([^ ]*\) .*/\1/') +GLIB=$(ldd @LIBDIR@/ardour-@VERSION@ 2> /dev/null | grep glib-2.0 | sed 's/.*=> \([^ ]*\)/\1/;s/ .*//') if ! type nm >/dev/null 2>&1 || [ "$GLIB" = "" ]; then echo "WARNING: Could not check your glib-2.0 for mutex locking atomic operations." @@ -66,5 +66,3 @@ if [ $# -gt 0 ] ; then fi exec $GDB @LIBDIR@/ardour-@VERSION@ "$@" - - |