diff options
author | Jens Georg <mail@jensge.org> | 2019-10-05 11:12:22 +0200 |
---|---|---|
committer | Jens Georg <mail@jensge.org> | 2019-10-05 11:26:52 +0200 |
commit | 134eb29fa1994ca2e97617579a28de0fb69d39bf (patch) | |
tree | cf934ef2065c8cce2ed30e501096eb7cdee00f21 /meson.build | |
parent | f01df8e3b8aba7348258b2650d006edbeba862df (diff) | |
download | rygel-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.build | 4 |
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', |