build.bqn: don't add -ldl if ¬FFI
This commit is contained in:
parent
7b7c31e8b9
commit
3878c022e3
@ -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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user