[gnome-dictionary] build: Add missing dependency on libm



commit ec01d262ff54ef815f2499dd25886af9e448062f
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Tue Apr 11 23:18:17 2017 +0100

    build: Add missing dependency on libm
    
    We check for it, but we don't link against it.

 src/meson.build |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/meson.build b/src/meson.build
index 3e82210..4caa1aa 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -1,5 +1,3 @@
-mathlib = cc.find_library('m', required: false)
-
 app_sources = [
   'gdict-about.c',
   'gdict-about.h',
@@ -25,6 +23,8 @@ resources = gnome.compile_resources ('gdict-resources',
                                      source_dir: '.',
                                      c_name: 'gdict')
 
+mathlib = cc.find_library('m', required: false)
+
 executable('gnome-dictionary', app_sources + resources,
            c_args: [
              '-DHAVE_CONFIG_H',
@@ -35,7 +35,7 @@ executable('gnome-dictionary', app_sources + resources,
              '-DPKGDATADIR="@0@"'.format(join_paths(gdict_datadir, 'gnome-dictionary')),
              '-DGNOMELOCALEDIR="@0@"'.format(join_paths(gdict_datadir, 'locale')),
            ],
-           dependencies: libgdict_dep,
+           dependencies: [ libgdict_dep, mathlib ],
            include_directories: [
              root_dir,
              libgdict_inc,


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