diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-03-18 00:55:59 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-03-20 17:24:38 +0300 |
commit | aa5ce03b40003ee8f7cfff4d2f1285b405f5906a (patch) | |
tree | 29d4131e644554e2dbe38c1ed84e4847467ff5b7 /butl/buildfile | |
parent | d13eb80e2f4114a97c523a7273d7de4c587dd22a (diff) |
Fix file descriptors leakage to child process on Windows
Diffstat (limited to 'butl/buildfile')
-rw-r--r-- | butl/buildfile | 6 |
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/ |