mirror of
https://github.com/QB64Official/qb64.git
synced 2024-09-19 19:05:03 +00:00
172583fd17
If a user has Homebrew installed, calling g++ won't use Apple's Xcode version of the tool, which is required by QB64. This fix continues on with the patch introduced in 4dbdddc89e
.
Extra "osx" references replaced with "macOS", but nothing substantial (almost aesthetic).
13 lines
245 B
Bash
Executable file
13 lines
245 B
Bash
Executable file
cd "$(dirname "$0")"
|
|
clang -c ../../src/resample.c -o temp/resample.o
|
|
ar rcs src.a temp/resample.o
|
|
echo "Press any key to continue..."
|
|
Pause()
|
|
{
|
|
OLDCONFIG=`stty -g`
|
|
stty -icanon -echo min 1 time 0
|
|
dd count=1 2>/dev/null
|
|
stty $OLDCONFIG
|
|
}
|
|
Pause
|
|
|