瀏覽代碼

protobuf-cpp: fix try remove exe

star9029 9 月之前
父節點
當前提交
92353c3a22
共有 1 個文件被更改,包括 1 次插入1 次删除
  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