mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00

- Avoid possible clash with lib atomic on macOS, e.g. in /Library/Developer/CommandLineTools/usr/include/c++/v1/memory:668 Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
14 lines
278 B
Bash
Executable file
14 lines
278 B
Bash
Executable file
#!/bin/sh
|
|
BASEDIR=$(dirname "$0")
|
|
|
|
if [ "$(uname -s)" = "Darwin" ] ; then
|
|
DLL_TOOL="otool -L"
|
|
else
|
|
DLL_TOOL="ldd"
|
|
fi
|
|
|
|
if ${DLL_TOOL} ${BASEDIR}/AtomicFileTest | grep -q 'libfiu' ; then
|
|
exec fiu-run -x ${BASEDIR}/AtomicFileTest
|
|
else
|
|
exec ${BASEDIR}/AtomicFileTest
|
|
fi
|