mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-29 17:39:28 +02:00
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.
8 lines
201 B
Bash
Executable File
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"
|