Uses a local opensssl library, because the openlibrary must be patched.
FossilOrigin-Name: 7f24a34f61e98296c7f1dd92326f126af544f7f4daf5bd0b28dc6cf85fb57b1c
This commit is contained in:
parent
f970512b57
commit
cc7911c8ad
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user