Boost logo

Boost-Build :

Subject: [Boost-build] Different python path
From: Chris Allen (chrisa_at_[hidden])
Date: 2008-10-20 14:09:15


Is there a way of specifying a different path in the "using python"
statement depending on whether the build is 32-bit or 64-bit?

I tried adding "address-model" as a condition like so:

   using python
     : 2.4 # version
     : s:/python/2.4/python.exe # cmd-or-prefix
     : # includes
     : # libraries
     : <target-os>windows <address-model>32 # conditions

But it seems to be ignored because when I specify "address-model=64" on
the bjam command line it still uses the 32-bit path and obviously fails
to link.


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at