diff options
author | tb <> | 2020-10-02 10:03:18 +0000 |
---|---|---|
committer | tb <> | 2020-10-02 10:03:18 +0000 |
commit | 1e6631e64ad0c7d8e96441fe5ec6a0440f5c6ec6 (patch) | |
tree | ebd805db207bfb798940979f2568e7b863b695db /src/regress/lib | |
parent | f3ccb75529881f30f1ad249c270f5f443636cb93 (diff) | |
download | openbsd-1e6631e64ad0c7d8e96441fe5ec6a0440f5c6ec6.tar.gz openbsd-1e6631e64ad0c7d8e96441fe5ec6a0440f5c6ec6.tar.bz2 openbsd-1e6631e64ad0c7d8e96441fe5ec6a0440f5c6ec6.zip |
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 'src/regress/lib')
-rw-r--r-- | src/regress/lib/libcrypto/x509/bettertls/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/regress/lib/libcrypto/x509/bettertls/Makefile b/src/regress/lib/libcrypto/x509/bettertls/Makefile index 778e06464a..9b6efabbf7 100644 --- a/src/regress/lib/libcrypto/x509/bettertls/Makefile +++ b/src/regress/lib/libcrypto/x509/bettertls/Makefile | |||
@@ -1,6 +1,12 @@ | |||
1 | # $OpenBSD: Makefile,v 1.3 2020/10/02 08:11:49 tb Exp $ | 1 | # $OpenBSD: Makefile,v 1.4 2020/10/02 10:03:18 tb Exp $ |
2 | 2 | ||
3 | PROGS = verify | 3 | PROGS = verify |
4 | |||
5 | .ifdef EOPENSSL11 | ||
6 | LDADD += -Wl,-rpath,/usr/local/lib/eopenssl11 -L/usr/local/lib/eopenssl11 | ||
7 | CFLAGS += -I/usr/local/include/eopenssl11/ | ||
8 | .endif | ||
9 | |||
4 | LDADD += -lcrypto | 10 | LDADD += -lcrypto |
5 | DPADD += ${LIBCRYPTO} | 11 | DPADD += ${LIBCRYPTO} |
6 | WARNINGS ?= Yes | 12 | WARNINGS ?= Yes |