diff options
author | Andreas Enge <andreas@enge.fr> | 2014-06-07 21:27:30 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-06-22 15:02:20 +0200 |
commit | d7d42d6b242518b5bc664d7e2644a2a78d15225a (patch) | |
tree | 1072faeaa25a2eab004d6fdecd1d6cbf821043d4 /gnu/packages/patches/udev-gir-libtool.patch | |
parent | e062d54240af140393dc8368b27611d31fb29441 (diff) | |
download | guix-d7d42d6b242518b5bc664d7e2644a2a78d15225a.tar guix-d7d42d6b242518b5bc664d7e2644a2a78d15225a.tar.gz |
gnu: Add udev.
* gnu/packages/linux.scm (udev): New variable.
* gnu/packages/patches/udev-gir-libtool.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/patches/udev-gir-libtool.patch')
-rw-r--r-- | gnu/packages/patches/udev-gir-libtool.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/packages/patches/udev-gir-libtool.patch b/gnu/packages/patches/udev-gir-libtool.patch new file mode 100644 index 0000000000..7504f87eb8 --- /dev/null +++ b/gnu/packages/patches/udev-gir-libtool.patch @@ -0,0 +1,17 @@ +Without this patch, 'ld' as invoked by 'g-ir-scanner' fails to find -lgudev-1.0 +This is because libtool puts it in $(top_builddir)/.libs. + +This patch forces 'g-ir-scanner' to use libtool, which enables it to find +libgudev-1.0.la. + +--- udev-182/Makefile.in 2014-06-22 14:55:07.000000000 +0200 ++++ udev-182/Makefile.in 2014-06-22 14:55:15.000000000 +0200 +@@ -3622,7 +3622,7 @@ test-sys-distclean: + @ENABLE_GUDEV_TRUE@@ENABLE_INTROSPECTION_TRUE@ --namespace GUdev \ + @ENABLE_GUDEV_TRUE@@ENABLE_INTROSPECTION_TRUE@ --nsversion=1.0 \ + @ENABLE_GUDEV_TRUE@@ENABLE_INTROSPECTION_TRUE@ --include=GObject-2.0 \ +-@ENABLE_GUDEV_TRUE@@ENABLE_INTROSPECTION_TRUE@ --library=gudev-1.0 \ ++@ENABLE_GUDEV_TRUE@@ENABLE_INTROSPECTION_TRUE@ --library=gudev-1.0 --libtool=$(top_builddir)/libtool \ + @ENABLE_GUDEV_TRUE@@ENABLE_INTROSPECTION_TRUE@ --library-path=$(top_builddir)/src \ + @ENABLE_GUDEV_TRUE@@ENABLE_INTROSPECTION_TRUE@ --library-path=$(top_builddir)/src/gudev \ + @ENABLE_GUDEV_TRUE@@ENABLE_INTROSPECTION_TRUE@ --output $@ \ |