aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/bin/buildfile
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/bin/buildfile')
-rw-r--r--libbuild2/bin/buildfile12
1 files changed, 3 insertions, 9 deletions
diff --git a/libbuild2/bin/buildfile b/libbuild2/bin/buildfile
index e490214..d5c6e83 100644
--- a/libbuild2/bin/buildfile
+++ b/libbuild2/bin/buildfile
@@ -2,13 +2,11 @@
# 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.
./: lib{build2-bin}: libul{build2-bin}: {hxx ixx txx cxx}{** -**.test...} \
- $int_libs
+ $imp_libs
# Unit tests.
#
@@ -34,11 +32,7 @@ objs{*}: cxx.poptions += -DLIBBUILD2_BIN_SHARED_BUILD
# Export options.
#
-lib{build2-bin}:
-{
- cxx.export.poptions = "-I$out_root" "-I$src_root"
- cxx.export.libs = $int_libs
-}
+lib{build2-bin}: cxx.export.poptions = "-I$out_root" "-I$src_root"
liba{build2-bin}: cxx.export.poptions += -DLIBBUILD2_BIN_STATIC
libs{build2-bin}: cxx.export.poptions += -DLIBBUILD2_BIN_SHARED