소스 검색

Fix linking protobuf-cpp (#3899)

* Fix linking protobuf-cpp

* Update xmake.lua

---------

Co-authored-by: Jérôme Leclercq <[email protected]>
Maxime 1 년 전
부모
커밋
2f27f317a7
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      packages/p/protobuf-cpp/xmake.lua

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

@@ -31,9 +31,9 @@ package("protobuf-cpp")
     add_deps("cmake")
 
     if is_plat("windows") then
-        add_links("libprotobuf")
+        add_links("libprotobuf", "libprotoc", "utf8_range", "utf8_validity")
     else
-        add_links("protobuf")
+        add_links("protobuf", "protoc", "utf8_range", "utf8_validity")
     end
 
     if is_plat("linux") then