1## Shipped versus non-shipped libraries with restricted license 2 3### Testdata build graph structure: 4 5A restricted licensed library sandwiched between a notice library and a notice 6binary. The source-code for the libraries only needs to be shared if shipped 7alongside the container with the binaries. 8 9```dot 10strict digraph { 11 rankdir=LR; 12 bin1 [label="bin/bin1.meta_lic\nnotice"]; 13 bin2 [label="bin/bin2.meta_lic\nnotice"]; 14 bin3 [label="bin/bin3.meta_lic\nnotice"]; 15 container [label="container.zip.meta_lic\nnotice"]; 16 libapache [label="lib/libapache.so.meta_lic\nnotice"]; 17 libcxx [label="lib/libc++.so.meta_lic\nnotice"]; 18 libgpl [label="lib/libgpl.so.meta_lic\nrestricted"]; 19 container -> bin1[label="static"]; 20 container -> bin2 [label="static"]; 21 container -> bin3 [label="static"]; 22 bin1 -> libcxx [label="dynamic"]; 23 bin2 -> libapache [label="dynamic"]; 24 bin2 -> libcxx [label="dynamic"]; 25 bin3 -> libapache [label="dynamic"]; 26 bin3 -> libcxx [label="dynamic"]; 27 bin3 -> libgpl [label="dynamic"]; 28 libapache -> libcxx [label="dynamic"]; 29 libgpl -> libcxx [label="dynamic"]; 30 {rank=same; container} 31} 32``` 33