gnu: gusb: Don't build introspection data when cross-compiling.
This fixes a configure error when cross-compiling and doesn't cause any rebuilds. * gnu/packages/gnome.scm (gusb)[arguments]<#:configure-flags>: Set 'introspection' and 'vapi' to false. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>master
parent
38df0c0334
commit
02c4344554
|
@ -6573,7 +6573,14 @@ DAV, and others.")
|
|||
`(("glib" ,glib)
|
||||
("libusb" ,libusb)))
|
||||
(arguments
|
||||
`(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
|
||||
`(#:tests? #f ;libusb fails to initialize. Wonder what that is.
|
||||
#:configure-flags
|
||||
,(if (%current-target-system)
|
||||
;; Introspection data cannot currently be cross-compiled.
|
||||
''("-Dintrospection=false"
|
||||
;; Requires introspection data.
|
||||
"-Dvapi=false")
|
||||
''())))
|
||||
(home-page "https://github.com/hughsie/libgusb")
|
||||
(synopsis "GLib binding for libusb1")
|
||||
(description
|
||||
|
|
Reference in New Issue