From 6efd6dc40d46f1fa2028a4259c8b2b56f866d6f7 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 28 Aug 2019 16:22:34 +0200 Subject: Make lib{build2} "implied interface dependency" of modules This makes our compilation and linking command lines a little bit saner. --- libbuild2/version/buildfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'libbuild2/version') diff --git a/libbuild2/version/buildfile b/libbuild2/version/buildfile index 96f55ad..ee65c4a 100644 --- a/libbuild2/version/buildfile +++ b/libbuild2/version/buildfile @@ -2,17 +2,15 @@ # 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 ../in/ -int_libs += ../in/lib{build2-in} +int_libs = ../in/lib{build2-in} ./: lib{build2-version}: libul{build2-version}: \ {hxx ixx txx cxx}{** -**.test...} \ - $int_libs + $int_libs $imp_libs # Unit tests. # -- cgit v1.1