Yes, it makes a difference.<p>Copyright law is activated by the action of <i>distribution</i> -- you make something, you share it, copyright law checks whether you had permission to share it.<p>It&#x27;s legal for someone to distribute you code under one license, and someone else to separately distribute you code under a different license -- it has to be.  Once <i>you</i> combine them on your machine, you&#x27;ve created something that would no longer be legal were you to distribute it.  But you don&#x27;t plan to distribute it, and as long as you don&#x27;t do so, you haven&#x27;t violated any copyright licenses, because you didn&#x27;t engage in any acts of distribution for copyright law to have power over.<p>But the distribution is on you, not the person who gave you the source.  The thing they distributed wasn&#x27;t violating any licenses.