1 # Copyright (c) 2022-2024, PostgreSQL Global Development Group
7 pgcrypto_sources = files(
57 pgcrypto_openssl_sources = files(
63 pgcrypto_link_with = []
66 pgcrypto_sources += pgcrypto_openssl_sources
70 pgcrypto_regress += 'pgp-compression'
72 pgcrypto_regress += 'pgp-zlib-DISABLED'
75 if host_system == 'windows'
76 pgcrypto_sources += rc_lib_gen.process(win32ver_rc, extra_args: [
78 '--FILEDESC', 'pgcrypto - cryptographic functions',])
81 pgcrypto = shared_module('pgcrypto',
83 link_with: pgcrypto_link_with,
84 c_pch: pch_postgres_h,
85 kwargs: contrib_mod_args + {
86 'dependencies': [pgcrypto_deps, contrib_mod_args['dependencies']]
89 contrib_targets += pgcrypto
92 'pgcrypto--1.0--1.1.sql',
93 'pgcrypto--1.1--1.2.sql',
94 'pgcrypto--1.2--1.3.sql',
97 kwargs: contrib_data_args,
103 'sd': meson.current_source_dir(),
104 'bd': meson.current_build_dir(),