Files
mapmap/scripts/sh_show_libs.sh
2017-08-01 02:24:14 +00:00

11 lines
201 B
Bash
Executable File

#!/bin/bash
unamestr=$(uname)
cd $(dirname $0)
cd src/mapmap
if [[ $unamestr == "Darwin" ]]; then
otool -L mapmap.app/Contents/MacOS/mapmap
elif [[ $unamestr == "Linux" ]]; then
ldd mapmap
fi