Uses a local opensssl library, because the openlibrary must be patched.

FossilOrigin-Name: 7f24a34f61e98296c7f1dd92326f126af544f7f4daf5bd0b28dc6cf85fb57b1c
This commit is contained in:
7u83@mail.ru 2014-08-16 08:12:09 +00:00
parent f970512b57
commit cc7911c8ad
1 changed files with 6 additions and 3 deletions

View File

@ -7,10 +7,12 @@ ifndef ARCH
ARCH = $(shell $(CC) -dumpmachine)
endif
OPENSSLLIB=../contrib/openssl-1.0.1i/libssl.a ../contrib/openssl-1.0.1i/libcrypto.a
OPENSSLINC=../contrib/openssl-1.0.1i/include
LDFLAGS = -g -D_REENTRANT -L/usr/local/lib -L../capwap/$(ARCH)
CFLAGS = -Wall -g -O0 -D_REENTRANT -DCW_NO_DTLS -DIPV6 -I/usr/local/include -I../capwap
CFLAGS = -I$(OPENSSLINC) -Wall -g -O0 -D_REENTRANT -DCW_NO_DTLS -DIPV6 -I/usr/local/include -I../capwap
@ -19,14 +21,15 @@ LIBS+=-lrt
ifdef WITH_GNUTLS
LIBS+=-lgnutls
else
LIBS+=-lssl
LIBS+=$(OPENSSLLIB)
endif
LIBS+=-lcrypto
#LIBS+=-lcrypto
LIBS+=-lpthread
LIBS+=-lconfuse
LIBS+=-lsqlite3
LIBS+=-ldl
ifdef WITH_GNUTLS