From 3878c022e3f735675c922de918c326f0df73c490 Mon Sep 17 00:00:00 2001 From: dzaima Date: Sun, 8 Jan 2023 03:34:28 +0200 Subject: [PATCH] =?UTF-8?q?build.bqn:=20don't=20add=20-ldl=20if=20=C2=ACFF?= =?UTF-8?q?I?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/src/build.bqn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/src/build.bqn b/build/src/build.bqn index 9e4985eb..8d0937a1 100755 --- a/build/src/build.bqn +++ b/build/src/build.bqn @@ -247,7 +247,7 @@ po ← { # parsed options Linker ⇐ { 𝕊: args ← ⟨{replxx? cxx; cc} DOpt "LD", "-lm"⟩ args∾↩ 1⊑GetLibs@ - args∾↩ (¬bsd) / ⟨"-ldl"⟩ + args∾↩ (ffi ∧ ¬bsd) / ⟨"-ldl"⟩ args∾↩ GetOpt "lf" args∾↩ GetOpt "CCFLAGS" args∾↩ GetOpt "LDFLAGS"