libratbag: fix armv56

This commit is contained in:
maxice8 2019-02-28 10:20:10 -03:00
parent 104fd3d012
commit 461c5b5b23
No known key found for this signature in database
GPG Key ID: 543B9D4F4299F06B
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,14 @@
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')

View File

@ -16,6 +16,8 @@ homepage="https://github.com/libratbag/libratbag"
distfiles="https://github.com/libratbag/libratbag/archive/v${version}.tar.gz"
checksum=d8a9a4b90025456700336c4e84a06edfce8deffeb71779ea22e00c27b0fda244
LDFLAGS="-lm"
case "$XBPS_TARGET_MACHINE" in
x86_64*|i686*) ;;
*-musl) broken="Requires gobject introspection" ;;