This commit is contained in:
Michael Telatynski 2023-04-13 21:56:04 +01:00
parent 0c09fa69e1
commit 1fcc98c782
No known key found for this signature in database
GPG key ID: A2B008A5F49F5D0D
2 changed files with 1 additions and 2 deletions

View file

@ -8,4 +8,3 @@ LD=/usr/bin/aarch64-linux-gnu-ld
FC=/usr/bin/aarch64-linux-gnu-gfortran
PKG_CONFIG_PATH=/usr/lib/aarch64-linux-gnu/pkgconfig
CFLAGS=-L/usr/lib/aarch64-linux-gnu
RUSTFLAGS=-L/usr/lib/aarch64-linux-gnu

View file

@ -222,8 +222,8 @@ async function buildSqlCipherUnix(hakEnv: HakEnv, moduleInfo: DependencyInfo): P
ldflags.push("-framework Foundation");
}
if (process.env.LDFLAGS) ldflags.unshift(process.env.LDFLAGS);
if (ldflags.length) {
if (process.env.LDFLAGS) ldflags.unshift(process.env.LDFLAGS);
args.push(`LDFLAGS=${ldflags.join(" ")}`);
}