gnu: libusb-compat: Add libusb to RUNPATH.
This avoids the error: teensy_loader_cli: error while loading libusb-1.0.so.0 from libusb-0.1.so.4: libusb-1.0.so.0: cannot open shared object file: No such file or directory e.g. when running teensy_loader_cli, which uses libusb-compat. * gnu/packages/libusb.scm (libusb-compat) [arguments] <configure-flags>: New LDFLAGS variable.
This commit is contained in:
parent
5ff0c8997a
commit
ddd8bb104a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user