gnu: gobject-introspection: Define search path for typelib files.
* gnu/packages/glib.scm (gobject-introspection): Add 'native-search-paths' and 'search-paths' fields.
This commit is contained in:
parent
66717243d0
commit
5a4753a699
|
@ -223,6 +223,11 @@ dynamic loading, and an object system.")
|
||||||
`(;; In practice, GIR users will need libffi when using
|
`(;; In practice, GIR users will need libffi when using
|
||||||
;; gobject-introspection.
|
;; gobject-introspection.
|
||||||
("libffi" ,libffi)))
|
("libffi" ,libffi)))
|
||||||
|
(native-search-paths
|
||||||
|
(list (search-path-specification
|
||||||
|
(variable "GI_TYPELIB_PATH")
|
||||||
|
(directories '("lib/girepository-1.0")))))
|
||||||
|
(search-paths native-search-paths)
|
||||||
(arguments
|
(arguments
|
||||||
`(;; The patch 'gobject-introspection-absolute-shlib-path.patch' causes
|
`(;; The patch 'gobject-introspection-absolute-shlib-path.patch' causes
|
||||||
;; some tests to fail.
|
;; some tests to fail.
|
||||||
|
|
Loading…
Reference in New Issue