From: Mikko Rasa Date: Thu, 5 Jan 2023 23:12:17 +0000 (+0200) Subject: Add the math library as an exported library on Linux X-Git-Url: https://git.tdb.fi/?a=commitdiff_plain;h=4c0aac62210d8ce51b61280e3543d846bbc40f9e;p=libs%2Fmath.git Add the math library as an exported library on Linux Some template code here uses functions from it, so users of this package must link the library for template instantiations to work. --- diff --git a/Build b/Build index 7fa961c..2795c66 100644 --- a/Build +++ b/Build @@ -9,6 +9,17 @@ package "mspmath" standard CXX "c++11"; }; + if_arch "linux" + { + export + { + build_info + { + library "m"; + }; + }; + }; + library "mspmath" { source "source/interpolate";