2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 13:22:11 +00:00

Merge from trunk.

[SVN r33577]
This commit is contained in:
Vladimir Prus
2006-04-07 07:34:58 +00:00
parent 69c0ae4c14
commit 0b0d55bb05

View File

@@ -470,15 +470,15 @@ rule add-prefix-and-suffix ( specified-name : type ? : property-set )
suffix = .$(suffix) ;
local prefix = [ type.generated-target-prefix $(type) : $(property-set) ] ;
if ! $(prefix)
&& [ type.is-derived $(type) LIB ] && [ os.on-unix ]
# This becomes hacky! Need to introduce more general mechanism.
# Invoke type.set-target-prefix in unix toolkit?
&& ! [ type.is-derived $(type) PYTHON_EXTENSION ]
{
prefix = lib ;
}
# if ! $(prefix)
# && [ type.is-derived $(type) LIB ] && [ os.on-unix ]
# # This becomes hacky! Need to introduce more general mechanism.
# # Invoke type.set-target-prefix in unix toolkit?
# && ! [ type.is-derived $(type) PYTHON_EXTENSION ]
# {
# prefix = lib ;
# }
if [ MATCH ^($(prefix)) : $(specified-name) ]
{
prefix = ;