From 96d57e7c5c6ab0168dfc886edc65986ab70fe800 Mon Sep 17 00:00:00 2001 From: cxfksword <718792+cxfksword@users.noreply.github.com> Date: Thu, 18 Jul 2024 21:38:46 +0800 Subject: [PATCH] update build --- Sources/BuildScripts/XCFrameworkBuild/main.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/BuildScripts/XCFrameworkBuild/main.swift b/Sources/BuildScripts/XCFrameworkBuild/main.swift index 28259fc..ff6d1a6 100644 --- a/Sources/BuildScripts/XCFrameworkBuild/main.swift +++ b/Sources/BuildScripts/XCFrameworkBuild/main.swift @@ -384,7 +384,7 @@ private class BuildMPV: BaseBuild { var ldFlags = super.ldFlags(platform: platform, arch: arch) if BaseBuild.options.enableGPL { - path = thinDir(library: .libsmbclient, platform: platform, arch: arch) + let path = thinDir(library: .libsmbclient, platform: platform, arch: arch) if FileManager.default.fileExists(atPath: path.path) { ldFlags.append(contentsOf: ["-lresolv", "-lpthread", "-lz", "-liconv"]) }