Browse Source

protobuf-cpp: fix try remove exe

star9029 9 months ago
parent
commit
92353c3a22
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/p/protobuf-cpp/xmake.lua

+ 1 - 1
packages/p/protobuf-cpp/xmake.lua

@@ -169,7 +169,7 @@ package("protobuf-cpp")
         import("package.tools.cmake").install(package, configs, opt)
 
         if package:is_cross() then
-            os.tryrm(package:installdir("bin/*"))
+            os.tryrm(package:installdir("bin/*.exe"))
         else
             os.trycp("build/Release/protoc.exe", package:installdir("bin"))
         end