Files
magic/scripts/configure_mac
T
Alessandro De Laurenzis b306a39560 Compatibility with C99 standard
This commit makes the code (mostly) C99-compatible, enabling to compile
it without the -Wno-error=implicit-function-declaration flag. This
way, Magic becomes usable on arm64 architectures, specifically on Apple
computers with M1/M2 SoC.
2022-10-29 06:07:46 +02:00

8 lines
201 B
Bash
Executable File

#!/bin/sh
set -x
./configure\
--with-tcl=$(brew --prefix tcl-tk)\
--with-tk=$(brew --prefix tcl-tk)\
--with-cairo=$(brew --prefix cairo)/include\
"LDFLAGS=-L$(brew --prefix cairo)/lib"