From 53c2fe9d0047d9b1c1000e3dc665c51768363c3a Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Fri, 29 Mar 2019 09:35:38 -0400 Subject: [PATCH] Properly specified -lm and -ldl on Unix. --- unix/meson.build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/unix/meson.build b/unix/meson.build index 9a2c8f74..f8004fbd 100644 --- a/unix/meson.build +++ b/unix/meson.build @@ -52,11 +52,11 @@ libui_deps += [ version: '>=3.10.0', method: 'pkg-config', required: true), - # MESONTODO are there better ways for these two? I forget if I asked this already... + # We specify these as not required because some Unix systems include them with libc instead of providing them as separate files (thanks textshell and jpakkane in freenode #mesonbuild) meson.get_compiler('c').find_library('m', - required: true), + required: false), meson.get_compiler('c').find_library('dl', - required: true), + required: false), ] libui_soversion = '0' libui_rpath = '$ORIGIN'