void-packages/srcpkgs/libratbag/patches/fix-armv56.patch

15 lines
444 B
Diff

diff --git meson.build meson.build
index 14b3962..ea9fc3c 100644
--- meson.build
+++ meson.build
@@ -70,7 +70,7 @@ pkgconfig = import('pkgconfig')
dep_udev = dependency('libudev')
dep_libevdev = dependency('libevdev')
dep_glib = dependency('glib-2.0')
-dep_lm = cc.find_library('m')
+dep_lm = cc.find_library('m', required : false)
if get_option('logind-provider') == 'elogind'
logind_dep = dependency('libelogind', version : '>=227')