mirror of
https://github.com/boostorg/build.git
synced 2026-02-16 01:12:13 +00:00
Don't add "lib" prefix if there's already "lib" prefix. Adjust paremeter
list of 'notfile-target.__init__'. [SVN r29609]
This commit is contained in:
@@ -457,7 +457,8 @@ rule add-prefix-and-suffix ( specified-name : type ? : property-set )
|
||||
|
||||
local prefix ;
|
||||
|
||||
if [ type.is-derived $(type) LIB ] && [ os.on-unix ]
|
||||
if [ type.is-derived $(type) LIB ] && [ os.on-unix ]
|
||||
&& ! [ MATCH ^(lib) : $(specified-name) ]
|
||||
{
|
||||
prefix = "lib" ;
|
||||
}
|
||||
@@ -567,9 +568,9 @@ class file-target : abstract-file-target
|
||||
|
||||
class notfile-target : abstract-file-target
|
||||
{
|
||||
rule __init__ ( name : project )
|
||||
rule __init__ ( name : project : action ? )
|
||||
{
|
||||
abstract-file-target.__init__ $(name) : : $(project) ;
|
||||
abstract-file-target.__init__ $(name) : : $(project) : $(action) ;
|
||||
}
|
||||
|
||||
# Returns nothing, to indicate that target path is not known.
|
||||
|
||||
Reference in New Issue
Block a user