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
commit4a0bfb037139905c1c5ca799b840fd6dcea2951f (patch)
tree70d36bb345e73e6022f740275f6cb1b7db5fd4bc
parent8a5d757613fcdd5cf6f66355b53bbd2023da96c4 (diff)
Make libstd-modules interface dependency as it should
-rw-r--r--libmhello/libmhello/buildfile6
1 files changed, 4 insertions, 2 deletions
diff --git a/libmhello/libmhello/buildfile b/libmhello/libmhello/buildfile
index f63f7c4..8ba9010 100644
--- a/libmhello/libmhello/buildfile
+++ b/libmhello/libmhello/buildfile
@@ -1,6 +1,6 @@
-import libs = libstd-modules%liba{std-modules}
+import int_libs = libstd-modules%liba{std-modules}
-lib{mhello}: {mxx cxx}{hello} $libs
+lib{mhello}: {mxx cxx}{hello} $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{mhello}: bin.lib.version = @"-$version.major.$version.minor"
+lib{mhello}: cxx.export.libs = $int_libs
+
# Install into the libmhello/ subdirectory of, say, /usr/include/.
#
mxx{*}: install = include/$project/