mirror of
https://github.com/boostorg/build.git
synced 2026-02-15 00:52:16 +00:00
Fix LD_LIBRARY_PATH setting for 64-bit gcc.
[SVN r33521]
This commit is contained in:
@@ -84,7 +84,12 @@ rule init ( version ? : command * : options * )
|
||||
# (for unit-test/run rules).
|
||||
if $(command)
|
||||
{
|
||||
local lib_path = $(root)/lib ;
|
||||
# On multilib 64-bit boxes, there are both 32-bit and 64-bit
|
||||
# libraries and all must be added to LD_LIBRARY_PATH. The linker
|
||||
# will pick the right onces.
|
||||
# Note that we don't provide a clean way to build 32-bit binary
|
||||
# with 64-bit compiler, but user can always pass -m32 manually.
|
||||
local lib_path = $(root)/lib $(root)/lib32 $(root)/lib64 ;
|
||||
if $(.debug-configuration)
|
||||
{
|
||||
ECHO notice: using gcc libraries :: $(condition) :: $(lib_path) ;
|
||||
|
||||
Reference in New Issue
Block a user