[nautilus/gnome-3-28] build: Fix libm detection
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/gnome-3-28] build: Fix libm detection
- Date: Mon, 9 Apr 2018 19:10:16 +0000 (UTC)
commit 37bff6de70ac68775d24b89cc32d4947d9917255
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"
(cherry picked from commit 1358dc6beba43365572122d5c89347c2491d2b13)
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index c0b17548a..510e2a2cc 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]