summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2018-03-24 13:08:57 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2018-03-30 12:51:46 +0200
commit1358dc6beba43365572122d5c89347c2491d2b13 (patch)
treec621d3170a47814a052036b1c0529982f0d4c192
parentf441aec32faebe7ad62d44fd04ebd3af2a367f9a (diff)
downloadnautilus-1358dc6beba43365572122d5c89347c2491d2b13.tar.gz
build: Fix libm detection
find_library expects the library name without the 'lib' prefix, otherwise it will be looking for "liblibm"
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
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')