Fix missing header for macos

This commit is contained in:
Francesco Abbate
2021-04-19 01:18:52 -07:00
parent 2f8c70ac51
commit 94c8f34a81
2 changed files with 5 additions and 1 deletions
+4 -1
View File
@@ -47,7 +47,10 @@ if [[ "$OSTYPE" == "msys"* || "$OSTYPE" == "mingw"* ]]; then
fi
rundir=".run"
if [ "$option_portable" == on ]; then
if [[ "$OSTYPE" == "darwin"* ]]; then
bindir="$rundir"
datadir="$rundir"
elif [ "$option_portable" == on ]; then
bindir="$rundir"
datadir="$rundir/data"
else