Skip to content

Commit 559d864

Browse files
committed
Update xmake.lua
1 parent d887e88 commit 559d864

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/p/pcl/xmake.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ package("pcl")
7878

7979
local opt = {packagedeps = {"lz4", "dl"}}
8080
if package:config("shared") and package:is_plat("macosx") then
81-
opt.shflags = {"-framework", "CoreFoundation", "-framework", "IOKit", "-framework", "Security", "-lssl", "-lcrypto"}
81+
opt.shflags = {"-framework", "CoreFoundation", "-framework", "IOKit", "-framework", "Security"}
82+
table.join2(opt.packagedeps, {"ssl", "crypto"})
8283
end
8384
import("package.tools.cmake").install(package, configs, opt)
8485
package:addenv("PATH", "bin")

0 commit comments

Comments
 (0)