From 9d1f053584b9c096162987b5f226a581f20f7bf6 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 24 Aug 2016 16:51:56 +0200 Subject: Update to new build2 functionality (interface/implementation dependencies) --- buildfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/buildfile b/buildfile index f1a9ff7..0a9fb43 100644 --- a/buildfile +++ b/buildfile @@ -46,12 +46,10 @@ if ($c.target.class != "windows") # want them to be linked in the same way as -lc (e.g., the user will have to # specify -static to force static linking and so on). # - c.libs += -lpthread -ldl -lm - - # @@ Currently not implemented in build2. Also is it right to link to other - # libraries that may have been specified by the user? + # We also assume these are implementation dependencies (so there is no + # c.export.libs listing them). # - liba{sqlite3}: cc.export.libs = $c.libs + c.libs += -lpthread -ldl -lm } # Both Debian and Fedora add this so gotta be important. -- cgit v1.1