summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sqlite3/buildfile5
1 files changed, 4 insertions, 1 deletions
diff --git a/sqlite3/buildfile b/sqlite3/buildfile
index 8fc111b..00e6304 100644
--- a/sqlite3/buildfile
+++ b/sqlite3/buildfile
@@ -50,7 +50,10 @@ if ($c.target.class != "windows")
# We also assume these are implementation dependencies (so there is no
# c.export.libs listing them).
#
- c.libs += -lpthread -ldl -lm
+ c.libs += -lpthread -lm
+
+ if ($c.target.class != "bsd")
+ c.libs += -ldl
}
# Both Debian and Fedora add this so gotta be important.