Fixes for OS X build with Macports

This commit is contained in:
Simone Mainardi 2018-10-09 17:28:09 +02:00
parent 42a2f7ada7
commit 8308098ef3

View File

@ -15,6 +15,10 @@ PLATOPTS_SPARC64=-mcpu=ultrasparc -pipe -fomit-frame-pointer -ffast-math -finlin
N2N_OBJS_OPT=
LIBS_EDGE_OPT=@N2N_LIBS@
OPENSSL_CFLAGS=$(shell pkg-config openssl; echo $$?)
ifeq ($(OPENSSL_CFLAGS), 0)
CFLAGS+=$(shell pkg-config --cflags-only-I openssl)
endif
CFLAGS+=$(DEBUG) $(OPTIMIZATION) $(WARN) $(OPTIONS) $(PLATOPTS)