build.bqn: don't add -ldl if ¬FFI

This commit is contained in:
dzaima 2023-01-08 03:34:28 +02:00
parent 7b7c31e8b9
commit 3878c022e3

View File

@ -247,7 +247,7 @@ po ← { # parsed options
Linker { 𝕊:
args {replxx? cxx; cc} DOpt "LD", "-lm"
args 1GetLibs@
args (¬bsd) / "-ldl"
args (ffi ¬bsd) / "-ldl"
args GetOpt "lf"
args GetOpt "CCFLAGS"
args GetOpt "LDFLAGS"