From 4c0aac62210d8ce51b61280e3543d846bbc40f9e Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Fri, 6 Jan 2023 01:12:17 +0200 Subject: [PATCH] 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. --- Build | 11 +++++++++++ 1 file changed, 11 insertions(+) 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"; -- 2.45.2