projects
/
users
/
c2main
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fff515
)
Add libpq's openssl dependencies to pkg-config file
author
Peter Eisentraut
<
[email protected]
>
Thu, 10 Sep 2020 13:55:31 +0000
(15:55 +0200)
committer
Peter Eisentraut
<
[email protected]
>
Thu, 10 Sep 2020 13:55:31 +0000
(15:55 +0200)
Add libssl and libcrypto to libpq.pc's Requires.private. This allows
static linking to work if those libssl or libcrypto themselves have
dependencies in their *.private fields, such as -lz in some cases.
Reported-by: Sandro Mani <
[email protected]
>
Discussion: https://www.postgresql.org/message-id/flat/
837d1dcf
-2fca-ee6e-0d7e-
6bce1a1bac75
@gmail.com
src/interfaces/libpq/Makefile
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/libpq/Makefile
b/src/interfaces/libpq/Makefile
index d4919970f88868eeebcc38058f3f89ecd4bfc6fb..4ac5f4b340f502713f184e4b8ecd19f9c63892d5 100644
(file)
--- a/
src/interfaces/libpq/Makefile
+++ b/
src/interfaces/libpq/Makefile
@@
-89,6
+89,8
@@
SHLIB_PREREQS = submake-libpgport
SHLIB_EXPORTS = exports.txt
+PKG_CONFIG_REQUIRES_PRIVATE = libssl libcrypto
+
all: all-lib
# Shared library stuff