فهرست منبع

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")
     add_deps("cmake")
 
 
     if is_plat("windows") then
     if is_plat("windows") then
-        add_links("libprotobuf")
+        add_links("libprotobuf", "libprotoc", "utf8_range", "utf8_validity")
     else
     else
-        add_links("protobuf")
+        add_links("protobuf", "protoc", "utf8_range", "utf8_validity")
     end
     end
 
 
     if is_plat("linux") then
     if is_plat("linux") then