Skip to content

Commit 918ecba

Browse files
committed
fix compilation target issue when run from MacOS
1 parent c1d4091 commit 918ecba

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

build.cfg.sample

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
# win64 : Windows 64 (not tested yet)
2020
# win32 : Windows 32 (not tested yet)
2121
# freebsd : FreeBSD
22+
# darwin : MacOS
2223
#----------------------------------------------
2324
-Tlinux
2425

tools/config.setup.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,6 @@ if [["$OSTYPE" == "freebsd"*]]; then
2020
sed -i '' 's/\-Tlinux/\-Tfreebsd/g' build.cfg
2121
elif [["$OSTYPE" == "msys"*]]; then
2222
sed -i '' 's/\-Tlinux/\-Twin64/g' build.cfg
23+
elif [["$OSTYPE" == "darwin"*]]; then
24+
sed -i '' 's/\-Tlinux/\-Tdarwin/g' build.cfg
2325
fi

0 commit comments

Comments
 (0)