summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-08-24 16:51:56 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-08-24 16:51:56 +0200
commit9d1f053584b9c096162987b5f226a581f20f7bf6 (patch)
tree753f650a359bb6556a5aae15bd186f74ff3c4327
parent75decc903b5e8152d03afbbd08ae1e5e0c166a2e (diff)
Update to new build2 functionality (interface/implementation dependencies)
-rw-r--r--buildfile8
1 files 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.