1 # Copyright (c) 2022-2024, PostgreSQL Global Development Group
3 if not perl_dep.found()
7 hstore_plperl_sources = files(
11 if host_system == 'windows'
12 hstore_plperl_sources += rc_lib_gen.process(win32ver_rc, extra_args: [
13 '--NAME', 'hstore_plperl',
14 '--FILEDESC', 'hstore_plperl - hstore transform for plperl',])
17 hstore_plperl = shared_module('hstore_plperl',
18 hstore_plperl_sources,
19 include_directories: [plperl_inc, hstore_inc],
20 kwargs: contrib_mod_args + {
21 'dependencies': [perl_dep, contrib_mod_args['dependencies']],
22 'install_rpath': ':'.join(mod_install_rpaths + ['@0@/CORE'.format(archlibexp)]),
23 'build_rpath': '@0@/CORE'.format(archlibexp),
26 contrib_targets += hstore_plperl
29 'hstore_plperl.control',
30 'hstore_plperl--1.0.sql',
31 kwargs: contrib_data_args,
35 'hstore_plperlu.control',
36 'hstore_plperlu--1.0.sql',
37 kwargs: contrib_data_args,
41 'name': 'hstore_plperl',
42 'sd': meson.current_source_dir(),
43 'bd': meson.current_build_dir(),