In my Luna makefile (I just built it, works fine), I have this:
- Code: Select all
CFLAGS:= -Wall -DUSE_FILE32API -Wno-unused-parameter -I/usr/local/opt/openssl/include -I/usr/include/
LDFLAGS:= -lssl -lz -lcrypto -L/usr/local/opt/openssl/lib -L/usr/local/Cellar/zlib/1.2.8/lib/
VPATH := minizip-1.1
You may need to install openssl (I have it installed with brew (
brew install openssl
))________
Edit: In theory, I could provide a mac prebuilt luna, if you need that. (I'd also want to look if it's possible to build it with the mac's openssl)
Edit2: technically, you probably don't even need to install brew and openssl, you might only just need its header... which is in the Mac SDK anyway if you have installed Xcode, for instance (for me it's in /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-migrator/sdk/MacOSX.sdk/usr/include/openssl/opensslconf.h)