mirror of
https://github.com/ntop/n2n.git
synced 2024-09-20 00:51:10 +02:00
Fixes for OS X build with Macports
This commit is contained in:
parent
42a2f7ada7
commit
8308098ef3
|
@ -15,6 +15,10 @@ PLATOPTS_SPARC64=-mcpu=ultrasparc -pipe -fomit-frame-pointer -ffast-math -finlin
|
||||||
N2N_OBJS_OPT=
|
N2N_OBJS_OPT=
|
||||||
LIBS_EDGE_OPT=@N2N_LIBS@
|
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)
|
CFLAGS+=$(DEBUG) $(OPTIMIZATION) $(WARN) $(OPTIONS) $(PLATOPTS)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user