warp-vpn

point to point VPN implementation
git clone git://git.2f30.org/warp-vpn
Log | Files | Refs | README

commit 35d4f67861c694fd502e6cf21bd9f7d2731e1891
parent 5457c767190ced55230775acdcf8b11e7fc12a96
Author: sin <sin@2f30.org>
Date:   Fri,  8 Apr 2016 16:35:54 +0100

fix config.mk so stun can easily be compiled with libressl from ports

Diffstat:
Mconfig.mk | 15++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/config.mk b/config.mk @@ -1,14 +1,19 @@ VERSION = 0.1 -# paths PREFIX = /usr/local MANPREFIX = $(PREFIX)/man +CRYPTOINC = /usr/local/include +CRYPTOLIB = /usr/local/lib + +INCS = -I$(CRYPTOINC) +LIBS = -L$(CRYPTOLIB) -lcrypto + # BSD -CFLAGS = -std=c99 -Wall -LDLIBS = -lcrypto +CFLAGS = -std=c99 -Wall $(INCS) +LDLIBS = $(LIBS) # Linux -#CFLAGS = -std=c99 -Wall +#CFLAGS = -std=c99 -Wall $(INCS) #CPPFLAGS = -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D_GNU_SOURCE -#LDLIBS = -lcrypto -lbsd +#LDLIBS = $(LIBS) -lbsd