15 lines
621 B
Diff
15 lines
621 B
Diff
Subject: fix undefined reference to libudev
|
|
Bug: 122153
|
|
|
|
diff -rupN a/SConscript b/SConscript
|
|
--- a/SConscript 2023-08-30 02:22:11.867597029 +0300
|
|
+++ b/SConscript 2023-09-01 02:22:32.834382210 +0300
|
|
@@ -1142,6 +1142,7 @@ if not cleaning and not helping:
|
|
announce("pkg_config is confused about the state "
|
|
"of libusb-1.0.")
|
|
usbflags = []
|
|
+ usbflags += ["-ludev"]
|
|
elif config.env['target_platform'].startswith('freebsd'):
|
|
# FIXME: shold directly test for libusb existence.
|
|
confdefs.append("#define HAVE_LIBUSB 1\n")
|