|
1 | 1 | #
|
2 |
| -# $PostgreSQL: pgsql/contrib/pgcrypto/Makefile,v 1.20 2005/07/1003:57:55 momjian Exp $ |
| 2 | +# $PostgreSQL: pgsql/contrib/pgcrypto/Makefile,v 1.21 2005/07/1018:32:55 momjian Exp $ |
3 | 3 | #
|
4 | 4 |
|
5 | 5 | INT_SRCS = md5.c sha1.c sha2.c internal.c blf.c rijndael.c\
|
|
56 | 56 | # Add libraries that pgcrypto depends (or might depend) on into the
|
57 | 57 | # shared library link. (The order in which you list them here doesn't
|
58 | 58 | # matter.)
|
59 |
| -SHLIB_LINK +=$(filter -lcrypt -ldes -lcrypto -lssl,$(LIBS)) |
| 59 | +SHLIB_LINK +=$(filter -lcrypt -ldes -lcrypto -lssl -lz,$(LIBS)) |
60 | 60 | ifeq ($(PORTNAME), win32)
|
61 |
| -SHLIB_LINK +=$(filter -leay32 -lssleay32,$(LIBS)) |
| 61 | +SHLIB_LINK +=$(filter -leay32 -lssleay32 -lz,$(LIBS)) |
62 | 62 | endif
|
63 | 63 |
|
64 | 64 | # to make ws2_32.lib the last library (must occur after definition of PORTNAME)
|
|