wlroots: fix cross
This commit is contained in:
parent
056b10ac8e
commit
de6cf13f59
|
@ -0,0 +1,16 @@
|
|||
diff --git meson.build meson.build
|
||||
index 56c3f6a..89c393b 100644
|
||||
--- meson.build
|
||||
+++ meson.build
|
||||
@@ -64,8 +64,8 @@ udev = dependency('libudev')
|
||||
pixman = dependency('pixman-1')
|
||||
libcap = dependency('libcap', required: get_option('libcap'))
|
||||
logind = dependency('lib' + get_option('logind-provider'), required: get_option('logind'), version: '>=237')
|
||||
-math = cc.find_library('m')
|
||||
-rt = cc.find_library('rt')
|
||||
+math = cc.find_library('m', required: false)
|
||||
+rt = cc.find_library('rt', required: false)
|
||||
|
||||
wlr_parts = []
|
||||
wlr_deps = []
|
||||
|
|
@ -19,6 +19,8 @@ homepage="https://github.com/swaywm/wlroots"
|
|||
distfiles="https://github.com/swaywm/wlroots/archive/${version}.tar.gz"
|
||||
checksum=a8c480b1ab3e5fff2d2a38661a0f06eb96af43c1cac02dc02e180d7fa5e8a5fa
|
||||
|
||||
LDFLAGS="-lm"
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue