From 134eb29fa1994ca2e97617579a28de0fb69d39bf Mon Sep 17 00:00:00 2001 From: Jens Georg Date: Sat, 5 Oct 2019 11:12:22 +0200 Subject: 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 --- meson.build | 4 ++-- 1 file 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', -- cgit v1.2.1