diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2020-10-02 10:03:19 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2020-10-02 10:03:19 +0000 |
commit | 674f8de0cf5f04a6483bee536b745d98f222e819 (patch) | |
tree | 5116e992dcb70030e8f3483cf82006ff71bd8506 /regress/lib/libcrypto | |
parent | d4d4b47d139df9ba2eac4e2a5e0004595b117a3d (diff) |
Add possibility to link and run this test against the OpenSSL 1.1.1 package
using the make variable EOPENSSL11.
Suggested by jsing
Diffstat (limited to 'regress/lib/libcrypto')
-rw-r--r-- | regress/lib/libcrypto/x509/bettertls/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/regress/lib/libcrypto/x509/bettertls/Makefile b/regress/lib/libcrypto/x509/bettertls/Makefile index 778e06464aa..9b6efabbf7a 100644 --- a/regress/lib/libcrypto/x509/bettertls/Makefile +++ b/regress/lib/libcrypto/x509/bettertls/Makefile @@ -1,6 +1,12 @@ -# $OpenBSD: Makefile,v 1.3 2020/10/02 08:11:49 tb Exp $ +# $OpenBSD: Makefile,v 1.4 2020/10/02 10:03:18 tb Exp $ PROGS = verify + +.ifdef EOPENSSL11 +LDADD += -Wl,-rpath,/usr/local/lib/eopenssl11 -L/usr/local/lib/eopenssl11 +CFLAGS += -I/usr/local/include/eopenssl11/ +.endif + LDADD += -lcrypto DPADD += ${LIBCRYPTO} WARNINGS ?= Yes |