mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-23 08:00:40 +02:00
Due to an oversight in reviewing, this used functionality not
compatible with old versions of OpenSSL.
This reverts commit 75ec5e7bec
.
32 lines
672 B
Meson
32 lines
672 B
Meson
# Copyright (c) 2022-2023, PostgreSQL Global Development Group
|
|
|
|
if not ssl.found()
|
|
subdir_done()
|
|
endif
|
|
|
|
sslinfo_sources = files(
|
|
'sslinfo.c',
|
|
)
|
|
|
|
if host_system == 'windows'
|
|
sslinfo_sources += rc_lib_gen.process(win32ver_rc, extra_args: [
|
|
'--NAME', 'sslinfo',
|
|
'--FILEDESC', 'sslinfo - information about client SSL certificate',])
|
|
endif
|
|
|
|
sslinfo = shared_module('sslinfo',
|
|
sslinfo_sources,
|
|
kwargs: contrib_mod_args + {
|
|
'dependencies': [ssl, contrib_mod_args['dependencies']],
|
|
}
|
|
)
|
|
contrib_targets += sslinfo
|
|
|
|
install_data(
|
|
'sslinfo--1.0--1.1.sql',
|
|
'sslinfo--1.1--1.2.sql',
|
|
'sslinfo--1.2.sql',
|
|
'sslinfo.control',
|
|
kwargs: contrib_data_args,
|
|
)
|