]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/tools/build/src/tools/generators/linking-generator.jam
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / tools / build / src / tools / generators / linking-generator.jam
index 23d0c1e8c5c32fe7c5614efa1fdb3ccce4681d84..37277a0b2bab768ab44b5a65cb58c1bbbd7d8842 100644 (file)
@@ -53,7 +53,7 @@ class linking-generator : generator
         local extra-xdll-paths ;
         for local s in $(sources)
         {
-            if [ type.is-derived [ $(s).type ] SHARED_LIB ] && ! [ $(s).action ]
+            if [ $(s).type ] && [ type.is-derived [ $(s).type ] SHARED_LIB ] && ! [ $(s).action ]
             {
                 local location = [ path.root [ $(s).name ]
                     [ $(s).path ] ] ;
@@ -143,7 +143,7 @@ class linking-generator : generator
         local fst ;
         for local s in $(sources)
         {
-            if [ type.is-derived [ $(s).type ] SEARCHED_LIB ]
+            if [ $(s).type ] && [ type.is-derived [ $(s).type ] SEARCHED_LIB ]
             {
                 local name = [ $(s).name ] ;
                 if [ $(s).shared ]