Explorar el Código

improve libusb

ruki hace 4 años
padre
commit
66f5ae98c4
Se han modificado 1 ficheros con 5 adiciones y 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)