[baobab/remove-linker-flags] Replace -rdynamic with a dependency on gmodule-2.0



commit 01ba0458783ca33538c3a08960aeee45ab549d21
Author: Stefano Facchini <stefano facchini gmail com>
Date:   Wed Jul 1 17:25:31 2020 +0200

    Replace -rdynamic with a dependency on gmodule-2.0

 meson.build     | 1 +
 src/meson.build | 6 +-----
 2 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/meson.build b/meson.build
index c11b34a..c74bf2d 100644
--- a/meson.build
+++ b/meson.build
@@ -13,6 +13,7 @@ glib = dependency('glib-2.0', version: '>=2.44')
 gio = dependency('gio-2.0', version: '>=2.44')
 gio_unix = dependency('gio-unix-2.0', version: '>=2.44')
 gobject = dependency('gobject-2.0', version: '>=2.44')
+gmodule = dependency('gmodule-2.0', version: '>=2.44')
 gtk = dependency('gtk+-3.0', version: '>=3.20')
 
 cc = meson.get_compiler('c')
diff --git a/src/meson.build b/src/meson.build
index 95dc593..7171cb6 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -33,15 +33,12 @@ baobab_c_args = [
   '-include', 'config.h'
 ]
 
-baobab_link_args = [
-  '-rdynamic'
-]
-
 baobab_dependencies = [
   glib,
   gio,
   gio_unix,
   gobject,
+  gmodule,
   gtk,
   math
 ]
@@ -51,6 +48,5 @@ executable('baobab', baobab_sources,
   vala_args: baobab_vala_args,
   c_args: baobab_c_args,
   dependencies: baobab_dependencies,
-  link_args: baobab_link_args,
   install: true
 )


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