[rhythmbox] build: remove '-export-dynamic' link arg



commit b8267ae46c950db4d6a15cc208fe099b1030f185
Author: Jonathan Matthew <jonathan d14n org>
Date:   Wed Nov 3 22:29:57 2021 +1000

    build: remove '-export-dynamic' link arg
    
    This isn't a real linker argument (--export-dynamic is), and mostly
    didn't even make it through to an actual build command because most of
    the targets were static libraries.

 backends/gstreamer/meson.build | 1 -
 backends/meson.build           | 1 -
 metadata/meson.build           | 1 -
 podcast/meson.build            | 1 -
 rhythmdb/meson.build           | 3 +--
 shell/meson.build              | 2 --
 sources/meson.build            | 1 -
 sources/sync/meson.build       | 1 -
 widgets/meson.build            | 3 +--
 9 files changed, 2 insertions(+), 12 deletions(-)
---
diff --git a/backends/gstreamer/meson.build b/backends/gstreamer/meson.build
index ea95dec8c..8b775c0aa 100644
--- a/backends/gstreamer/meson.build
+++ b/backends/gstreamer/meson.build
@@ -22,7 +22,6 @@ rbbackendsgstreamer_lib = static_library('rbbackendsgstreamer',
   dependencies: [gstreamer_backend_dependencies, rhythmdb_dep, librb_dep],
   c_args: gstreamer_backend_c_args,
   include_directories: backends_inc,
-  link_args: ['-export-dynamic'],
 )
 
 rbbackendsgstreamer_dep = declare_dependency(
diff --git a/backends/meson.build b/backends/meson.build
index a09bd5413..0f0ec6bbd 100644
--- a/backends/meson.build
+++ b/backends/meson.build
@@ -29,7 +29,6 @@ rbbackends_lib = static_library('rbbackends',
   backends_sources,
   dependencies: [librb_dep, rbbackendsgstreamer_dep],
   c_args: backends_c_args,
-  link_args: ['-export-dynamic'],
 )
 
 rbbackends_dep = declare_dependency(
diff --git a/metadata/meson.build b/metadata/meson.build
index 053406af4..2c497d8e1 100644
--- a/metadata/meson.build
+++ b/metadata/meson.build
@@ -48,7 +48,6 @@ rbmetadata_lib = static_library('rbmetadata', metadata_sources,
   c_args: metadata_c_args,
   dependencies: [metadata_deps, librb_dep],
   install: false,
-  link_args: ['-export-dynamic']
 )
 
 rbmetadata_dep = declare_dependency(
diff --git a/podcast/meson.build b/podcast/meson.build
index 9f2cfbc3a..4430f2766 100644
--- a/podcast/meson.build
+++ b/podcast/meson.build
@@ -37,7 +37,6 @@ rbpodcast_lib = static_library('rbpodcast', podcast_sources,
   include_directories: [configinc, shellinc, sourcesinc, widgetsinc],
   dependencies: [podcast_dependencies, librb_dep, rhythmdb_dep, rbmetadata_dep],
   install: false,
-  link_args: ['-export-dynamic']
 )
 
 rbpodcast_dep = declare_dependency(
diff --git a/rhythmdb/meson.build b/rhythmdb/meson.build
index 2598eaa02..de438d9c5 100644
--- a/rhythmdb/meson.build
+++ b/rhythmdb/meson.build
@@ -48,8 +48,7 @@ rhythmdb_dependencies = [libmath]
 librhythmdb = static_library('rhythmdb', rhythmdb_sources,
   c_args: c_args,
   dependencies: [rhythmdb_dependencies, librb_dep],
-  include_directories: [podcastinc, widgetsinc],
-  link_args: '-export-dynamic')
+  include_directories: [podcastinc, widgetsinc])
 
 rhythmdb_dep = declare_dependency(
   link_with: librhythmdb,
diff --git a/shell/meson.build b/shell/meson.build
index eb9ec5982..bb4b624e3 100644
--- a/shell/meson.build
+++ b/shell/meson.build
@@ -96,7 +96,6 @@ librhythmbox_core = shared_library('rhythmbox-core',
   dependencies: [rhythmbox_core_dependencies,  mediaplayerid_dep, rhythmdb_dep,
     rbbackends_dep, rbpodcast_dep, rbwidgets_dep, sources_dep],
   install: 'true',
-  link_args: ['-export-dynamic'],
   link_whole: [librb, rbwidgets_lib, sources_lib],
   version: '@0@.@1@.@2@'.format(RHYTHMBOX_CORE_CURRENT, RHYTHMBOX_CORE_REVISION, RHYTHMBOX_CORE_AGE)
 )
@@ -148,7 +147,6 @@ endif
 executable('rhythmbox', 'main.c',
   dependencies: rhythmbox_dependencies,
   include_directories: [ pluginsinc ],
-  link_args: ['-export-dynamic'],
   install: true,
   install_rpath: rpath
 )
diff --git a/sources/meson.build b/sources/meson.build
index 20046f257..49a75c43f 100644
--- a/sources/meson.build
+++ b/sources/meson.build
@@ -64,7 +64,6 @@ sources_lib = static_library('sources', sources_sources,
   dependencies: sources_dependencies + [librb_dep, rhythmdb_dep,
     rbbackends_dep, rbmetadata_dep, sourcesync_dep],
   install: false,
-  link_args: ['-export-dynamic']
 )
 
 sources_dep = declare_dependency(
diff --git a/sources/sync/meson.build b/sources/sync/meson.build
index fd81a85d7..c84d54240 100644
--- a/sources/sync/meson.build
+++ b/sources/sync/meson.build
@@ -24,7 +24,6 @@ sourcesync_lib = static_library('sourcesync', sourcesync_sources,
   include_directories: [configinc, shellinc, sourcesinc, widgetsinc],
   dependencies: sourcesync_dependencies,
   install: false,
-  link_args: ['-export-dynamic']
 )
 
 sourcesync_dep = declare_dependency(
diff --git a/widgets/meson.build b/widgets/meson.build
index 1e635d686..163416c37 100644
--- a/widgets/meson.build
+++ b/widgets/meson.build
@@ -59,8 +59,7 @@ rbwidgets_lib = static_library('rbwidgets',
   widgets_sources,
   dependencies: widgets_dependencies + [librb_dep, rhythmdb_dep, rbmetadata_dep,
   rbbackends_dep, rbpodcast_dep, sources_dep],
-  include_directories: [pluginsinc, shellinc, sourcessyncinc, widgetsinc],
-  link_args: ['-export-dynamic'])
+  include_directories: [pluginsinc, shellinc, sourcessyncinc, widgetsinc])
 
 rbwidgets_dep = declare_dependency(
   link_with: rbwidgets_lib,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]