aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/c
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-08-28 16:22:34 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-08-28 16:30:31 +0200
commit6efd6dc40d46f1fa2028a4259c8b2b56f866d6f7 (patch)
treeb944fb9be6ccef52d66ce796dc4ae9da7d4f1185 /libbuild2/c
parent28dcef63d86dc5a86919c45facddbf4e70d7b3bf (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/c')
-rw-r--r--libbuild2/c/buildfile8
1 files changed, 3 insertions, 5 deletions
diff --git a/libbuild2/c/buildfile b/libbuild2/c/buildfile
index 234a0d7..63bdbcc 100644
--- a/libbuild2/c/buildfile
+++ b/libbuild2/c/buildfile
@@ -2,16 +2,14 @@
# copyright : Copyright (c) 2014-2019 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
-import int_libs = libbutl%lib{butl}
-
include ../
-int_libs += ../lib{build2}
+imp_libs = ../lib{build2} # Implied interface dependency.
include ../cc/
-int_libs += ../cc/lib{build2-cc}
+int_libs = ../cc/lib{build2-cc}
./: lib{build2-c}: libul{build2-c}: {hxx ixx txx cxx}{** -**.test...} \
- $int_libs
+ $int_libs $imp_libs
# Unit tests.
#