diff options
Diffstat (limited to 'gnu/packages/libusb.scm')
-rw-r--r-- | gnu/packages/libusb.scm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/libusb.scm b/gnu/packages/libusb.scm index 5ebae9fe1c..1d514c11b7 100644 --- a/gnu/packages/libusb.scm +++ b/gnu/packages/libusb.scm @@ -102,7 +102,11 @@ devices on various operating systems.") (build-system gnu-build-system) (arguments (list #:configure-flags - #~(list "--disable-static"))) + #~(list "--disable-static" + ;; Extending the RUNPATH is necessary, otherwise loading + ;; the libusb-1.0.so.0 library fails. + (string-append "LDFLAGS=-Wl,-rpath=" + #$(this-package-input "libusb") "/lib")))) (native-inputs (list autoconf automake libtool pkg-config)) (inputs |