diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2024-01-20 11:29:41 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2024-01-20 11:29:41 +0000 |
commit | e864015ede3eff18d4638a4a6149c62f76835f79 (patch) | |
tree | 02812e7f7eb5ec372dab2008692eb44bc6b0ff31 | |
parent | 7b81aea1217f629f73fa45575ad86ca967e5cdfc (diff) |
link the infcover test statically in preparation of zlib changes
-rw-r--r-- | regress/lib/libz/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/regress/lib/libz/Makefile b/regress/lib/libz/Makefile index 73e7871294d..6f9bc4564bf 100644 --- a/regress/lib/libz/Makefile +++ b/regress/lib/libz/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 2022/03/29 23:12:30 tb Exp $ +# $OpenBSD: Makefile,v 1.5 2024/01/20 11:29:40 tb Exp $ # compile and run zlib test files from upstream # https://github.com/madler/zlib/tree/master/test @@ -14,6 +14,9 @@ CPPFLAGS= -I${.CURDIR}/../../../lib/libz WARNINGS= Yes CLEANFILES= foo.gz in out out.gz +# infcover uses the internal inflate_table, so link it statically +LDADD_infcover = -Wl,-Bstatic -lz -Wl,-Bdynamic + REGRESS_TARGETS= run-regress-example run-regress-infcover .for stategy in default filtered huffman rle |