diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-09-04 18:41:40 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-09-04 18:41:40 +0200 |
commit | 0bd73acde8ce26bcd018946807c22c2cb030c684 (patch) | |
tree | 6efb6a2c111d3ffb98d84199cc04151bf7908b65 /sqlite3/buildfile | |
parent | d7a0989e8af4c8cb281712ec3ec5893fbd6dda2c (diff) |
Don't link -ldl on *BSD
Diffstat (limited to 'sqlite3/buildfile')
-rw-r--r-- | sqlite3/buildfile | 5 |
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. |