Procházet zdrojové kódy

async_simple: remove limit plat (#5090)

* async_simple: remove limit plat

* only linux & macosx non-header only
star9029 před 1 rokem
rodič
revize
df1c44cc0a
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      packages/a/async_simple/xmake.lua

+ 2 - 2
packages/a/async_simple/xmake.lua

@@ -16,11 +16,11 @@ package("async_simple")
 
 
     add_deps("cmake")
     add_deps("cmake")
 
 
-    on_load("windows", function (package)
+    on_load("!linux and !macosx", function (package)
         package:set("kind", "library", {headeronly = true})
         package:set("kind", "library", {headeronly = true})
     end)
     end)
 
 
-    on_install("windows", "linux", "macosx", function (package)
+    on_install(function (package)
         if package:version():le("1.3") then
         if package:version():le("1.3") then
             io.replace("async_simple/CMakeLists.txt",
             io.replace("async_simple/CMakeLists.txt",
             [[file(GLOB coro_header "coro/*.h")]],
             [[file(GLOB coro_header "coro/*.h")]],