ソースを参照

protobuf-cpp: fix try remove exe

star9029 7 ヶ月 前
コミット
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