aboutsummaryrefslogtreecommitdiff
path: root/butl/buildfile
diff options
context:
space:
mode:
Diffstat (limited to 'butl/buildfile')
-rw-r--r--butl/buildfile6
1 files changed, 5 insertions, 1 deletions
diff --git a/butl/buildfile b/butl/buildfile
index 090f9ed..0aa0aae 100644
--- a/butl/buildfile
+++ b/butl/buildfile
@@ -2,7 +2,7 @@
# copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
-lib{butl}: \
+lib{butl}: \
{hxx cxx}{ base64 } \
{hxx cxx}{ char-scanner } \
{hxx }{ const-ptr } \
@@ -21,6 +21,7 @@ lib{butl}: \
{hxx }{ path-map } \
{hxx txx }{ prefix-map } \
{hxx ixx cxx}{ process } \
+ {hxx }{ process-details } \
{hxx cxx}{ sha256 } \
{hxx }{ small-vector } \
{hxx txx }{ string-table } \
@@ -66,6 +67,9 @@ lib{butl}: cxx.export.poptions = "-I$src_root"
liba{butl}: cxx.export.poptions += -DLIBBUTL_STATIC
libs{butl}: cxx.export.poptions += -DLIBBUTL_SHARED
+if ($cxx.target.class != "windows")
+ cxx.libs += -lpthread
+
# Install into the butl/ subdirectory of, say, /usr/include/.
#
install.include = $install.include/butl/