summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-08-04 13:11:09 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-08-04 13:11:09 +0200
commit492893b43e578c2a50abcc9607ebb8311c280397 (patch)
tree4e028f1f17493006a0a7c341b7076f163a357a10
parent9bc027848d84d8e5f06ab597aef01b399765cf42 (diff)
Make libstd-modules interface dependency as it should
-rw-r--r--libmformat/libmformat/buildfile6
1 files changed, 4 insertions, 2 deletions
diff --git a/libmformat/libmformat/buildfile b/libmformat/libmformat/buildfile
index bbdd12c..7f730b4 100644
--- a/libmformat/libmformat/buildfile
+++ b/libmformat/libmformat/buildfile
@@ -1,6 +1,6 @@
-import libs = libstd-modules%liba{std-modules}
+import int_libs = libstd-modules%liba{std-modules}
-lib{mformat}: {mxx cxx}{format} $libs
+lib{mformat}: {mxx cxx}{format} $int_libs
# For pre-releases use the complete version to make sure they cannot be used
# in place of another pre-release or the final version.
@@ -10,6 +10,8 @@ if $version.pre_release
else
lib{mformat}: bin.lib.version = @"-$version.major.$version.minor"
+lib{mformat}: cxx.export.libs = $int_libs
+
# Install into the libmformat/ subdirectory of, say, /usr/include/.
#
mxx{*}: install = include/$project/