summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorJens Georg <mail@jensge.org>2019-10-05 11:12:22 +0200
committerJens Georg <mail@jensge.org>2019-10-05 11:26:52 +0200
commit134eb29fa1994ca2e97617579a28de0fb69d39bf (patch)
treecf934ef2065c8cce2ed30e501096eb7cdee00f21 /meson.build
parentf01df8e3b8aba7348258b2650d006edbeba862df (diff)
downloadrygel-134eb29fa1994ca2e97617579a28de0fb69d39bf.tar.gz
build: Add old libtool flags to pkg-config files
Provide the flags in .pc as we did before, if the consumers decide to keep on using autotools for example
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index 6e32e421..5fd138af 100644
--- a/meson.build
+++ b/meson.build
@@ -153,8 +153,8 @@ pc_conf.set('includedir', join_paths('${prefix}', get_option('includedir')))
pc_conf.set('VERSION', '@0@'.format(meson.project_version()))
pc_conf.set('RYGEL_PLUGIN_DIR', rygel_plugindir)
pc_conf.set('RYGEL_MEDIA_ENGINE_DIR', rygel_enginedir)
-pc_conf.set('RYGEL_PLUGIN_LINKER_FLAGS', '')
-pc_conf.set('RYGEL_ENGINE_LINKER_FLAGS', '')
+pc_conf.set('RYGEL_PLUGIN_LINKER_FLAGS', '-module -avoid-version -shared -export-dynamic -export-symbols-regex \'module_init\'')
+pc_conf.set('RYGEL_ENGINE_LINKER_FLAGS', '-module -avoid-version -shared -export-dynamic -export-symbols-regex \'module_get_instance\'')
configure_file(output: 'rygel-core-2.6.pc',
input: 'rygel-core-2.6.pc.in',