2
0
ruki 4 жил өмнө
parent
commit
66f5ae98c4

+ 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)