[rygel] build: Add old libtool flags to pkg-config files
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] build: Add old libtool flags to pkg-config files
- Date: Sat, 5 Oct 2019 09:45:28 +0000 (UTC)
commit 134eb29fa1994ca2e97617579a28de0fb69d39bf
Author: Jens Georg <mail jensge org>
Date: Sat Oct 5 11:12:22 2019 +0200
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',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]