SwiftGD
SwiftGD copied to clipboard
Apple Silicon M1 compatibility
Hello! I'm having trouble compiling this project on a mac with M1 processor.
I successfully installed gd with brew install gd
.
When compiling I get the error 'gd.h' file not found
; it looks like SPM is not picking up headers correctly
$ pkg-config --cflags gdlib
-I/opt/homebrew/Cellar/gd/2.3.2/include
$ ls /usr/local/include | grep gd
gd.h
gd_color_map.h
gd_errors.h
gd_io.h
gdcache.h
gdfontg.h
gdfontl.h
gdfontmb.h
gdfonts.h
gdfontt.h
gdfx.h
gdpp.h
Is there any workaround available or am I doing something wrong?