diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-08-28 16:22:34 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-08-28 16:30:31 +0200 |
commit | 6efd6dc40d46f1fa2028a4259c8b2b56f866d6f7 (patch) | |
tree | b944fb9be6ccef52d66ce796dc4ae9da7d4f1185 /libbuild2/buildfile | |
parent | 28dcef63d86dc5a86919c45facddbf4e70d7b3bf (diff) |
Make lib{build2} "implied interface dependency" of modules
This makes our compilation and linking command lines a little bit saner.
Diffstat (limited to 'libbuild2/buildfile')
-rw-r--r-- | libbuild2/buildfile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libbuild2/buildfile b/libbuild2/buildfile index c419dd1..e838e8e 100644 --- a/libbuild2/buildfile +++ b/libbuild2/buildfile @@ -7,6 +7,13 @@ # ./: lib{build2} bash/ bin/ c/ cc/ cxx/ in/ version/ +# A module should treat lib{build2} as an "implied interface dependency" +# meaning that it can link it as an implementation dependency and assume that +# whomever imports and links this module will also import and link lib{build2} +# explicitly. A module should also assume that lib{butl} will always be an +# interface dependency of lib{build2} and therefore need not be explicitly +# imported or linked. +# import int_libs = libbutl%lib{butl} lib{build2}: libul{build2}: \ |