From 46348d83be29f4a084a0c9ad8a4f7d200aec27b5 Mon Sep 17 00:00:00 2001 From: Joakim Hassila Date: Mon, 17 Apr 2023 13:17:05 +0200 Subject: [PATCH] fix(patch): Update Package.swift (#148) Incorrect boolean check fixed. --- Package.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index f405ac07..5bf55b79 100644 --- a/Package.swift +++ b/Package.swift @@ -144,7 +144,7 @@ var dependencies: [PackageDescription.Target.Dependency] = [ "SwiftRuntimeHooks", ] -if let disableJemalloc, disableJemalloc != "false", disableJemalloc != "0", spiBuild != true { +if let disableJemalloc, disableJemalloc != "false", disableJemalloc != "0", spiBuild != false { } else { package.dependencies += [.package(url: "https://github.com/ordo-one/package-jemalloc", .upToNextMajor(from: "1.0.0"))] dependencies += [.product(name: "jemalloc", package: "package-jemalloc")]