]> err.no Git - systemd/commitdiff
gudev: respect possibly given LD_LIBRARY_PATH
authorMichael Meeks <michael.meeks@novell.com>
Tue, 29 Jun 2010 08:49:31 +0000 (09:49 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Tue, 29 Jun 2010 15:38:36 +0000 (17:38 +0200)
michael@linux-iwk5:/opt/hgnome/src/udev> make V=1
make --no-print-directory all-recursive
Making all in .
PKG_CONFIG_PATH=./data:$PKG_CONFIG_PATH \
        LD_LIBRARY_PATH=./extras/gudev \
        /opt/hgnome/bin/g-ir-scanner -v \
                --namespace GUdev \
..
                ./extras/gudev/gudevdevice.c
/opt/hgnome/bin/python: error while loading shared libraries:
libpython2.5.so.1.0: cannot open shared object file: No such file or
directory
make[2]: *** [extras/gudev/GUdev-1.0.gir] Error 127

Makefile.am

index 8515e1458efa9f460c4fb06c158b5b4424886052..33ab56a6247fe93301e6f29fce6d6946a8b86396 100644 (file)
@@ -381,7 +381,7 @@ extras/gudev/gudevenumtypes.c: extras/gudev/gudevenumtypes.c.template extras/gud
 if ENABLE_INTROSPECTION
 extras/gudev/GUdev-1.0.gir: extras/gudev/libgudev-1.0.la $(G_IR_SCANNER) Makefile.am
        $(AM_V_GEN)PKG_CONFIG_PATH=$(top_builddir)/data:$$PKG_CONFIG_PATH \
-       LD_LIBRARY_PATH=$(top_builddir)/extras/gudev \
+       LD_LIBRARY_PATH=$(top_builddir)/extras/gudev:$$LD_LIBRARY_PATH \
        $(G_IR_SCANNER) -v \
                --namespace GUdev \
                --nsversion=1.0 \