Explorar o código

improve libusb

ruki %!s(int64=4) %!d(string=hai) anos
pai
achega
66f5ae98c4
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      packages/l/libusb/xmake.lua

+ 5 - 0
packages/l/libusb/xmake.lua

@@ -21,6 +21,11 @@ package("libusb")
         add_syslinks("pthread")
     end
 
+    -- it will be provided in xmake v2.5.2
+    if add_extsources then
+        add_extsources("pkgconfig::libusb-1.0")
+    end
+
     add_includedirs("include", "include/libusb-1.0")
 
     on_install("windows", function (package)