[nautilus] build: Fix libm detection
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] build: Fix libm detection
- Date: Tue, 3 Apr 2018 11:33:59 +0000 (UTC)
commit 1358dc6beba43365572122d5c89347c2491d2b13
Author: Christophe Fergeau <cfergeau redhat com>
Date: Sat Mar 24 13:08:57 2018 +0100
build: Fix libm detection
find_library expects the library name without the 'lib' prefix,
otherwise it will be looking for "liblibm"
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index cd3006932..41782c261 100644
--- a/meson.build
+++ b/meson.build
@@ -67,7 +67,7 @@ libgd = subproject(
)
libgd_dep = libgd.get_variable('libgd_dep')
-libm = cc.find_library('libm')
+libm = cc.find_library('m')
gail = dependency('gail-3.0')
if get_option('extensions')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]