From e8e2a63053ba5440cc9d4f62d248443e2b775e13 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 28 Jun 2018 09:50:24 +0200 Subject: Make plugin adhoc prerequisite of driver --- odb/buildfile | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'odb/buildfile') diff --git a/odb/buildfile b/odb/buildfile index fda17c7..7a44790 100644 --- a/odb/buildfile +++ b/odb/buildfile @@ -38,14 +38,19 @@ gxx_name = $regex.replace($gxx_name, '\\', '\\\\') # Escape back slashes. import libs = libcutl%lib{cutl} import libs += libstudxml%lib{studxml} -# @@ We need to somehow make exe depend on plugin but not link it so that -# when, for example, exe is imported, plugin is updated as well. Feels -# related to those ad hoc inputs. - ./: exe{odb} plugin{odb} +# We need to make driver depend on plugin but not link it so that when, for +# example, driver is imported, plugin is updated as well. +# +# We, however, don't want to install via the driver since the same driver +# build could be used with multiple plugin builds (e.g., for different GCC +# versions, which is something distribution packagers sometimes want to do). +# @@ For this we will have to wait for operation-specific values support. +# exe{odb}: cxx{odb} exe{odb}: libus{odb}: bin.whole = false +exe{odb}: plugin{odb}: include = adhoc plugin{odb}: libus{odb} -- cgit v1.1