Set <install-dlldir> appropriately when staging

This commit is contained in:
Peter Dimov
2026-04-12 22:45:07 +03:00
parent 1e2fba81df
commit be91f925e7
+4 -2
View File
@@ -1063,11 +1063,13 @@ rule install-or-stage-cmake-config ( name * : install-or-stage )
else
{
local reqs ;
if $(install-or-stage) = stage
{
local libdir = [ boost-install-dirs.stage-libdir ] ;
local includedir = [ boost-install-dirs.stage-includedir ] ;
reqs = <install-libdir>$(libdir) <install-includedir>$(includedir) ;
reqs = <install-libdir>$(libdir) <install-dlldir>$(libdir) <install-includedir>$(includedir) ;
}
else
{
@@ -1297,7 +1299,7 @@ rule boost-install ( libraries * )
if ! [ $(p).has-alternative-for-target stage ]
{
local stage-libdir = [ boost-install-dirs.stage-libdir ] ;
local reqs = <install-libdir>$(stage-libdir) ;
local reqs = <install-libdir>$(stage-libdir) <install-dlldir>$(stage-libdir) ;
stage-cmake-config $(libraries) ;