From 0bd73acde8ce26bcd018946807c22c2cb030c684 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 4 Sep 2016 18:41:40 +0200 Subject: Don't link -ldl on *BSD --- sqlite3/buildfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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. -- cgit v1.1