guard tag against empty type (#908)

This commit is contained in:
Dmitry 2024-05-26 22:17:46 +03:00 committed by Peter Dimov
parent 768674f58f
commit 40c6b1adba

View file

@ -185,7 +185,7 @@ else
rule tag ( name : type ? : property-set ) rule tag ( name : type ? : property-set )
{ {
if $(type) in STATIC_LIB SHARED_LIB IMPORT_LIB if $(type:E=x) in STATIC_LIB SHARED_LIB IMPORT_LIB
{ {
local args = $(.format-name-args) ; local args = $(.format-name-args) ;
if $(layout) = versioned if $(layout) = versioned