2
0
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:
Vladimir Prus
2005-06-16 09:23:33 +00:00
parent 4b321e17fe
commit 2f97fb3eb7

View File

@@ -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.