I am making a closed source app for my employer. This app uses libraries under MIT and Apache licenses. How do I comply with these licenses in such a way that it is absolutely clear that these licenses only apply to the libraries and not the closed source app?
If you are fine with disclosing which libraries you use, you can write alongside your own licensing information something along the lines of
This app uses library A, which is made available under the MIT license, and library B, which is made available under the Apache 2.0 license. See below for the license texts.
<MIT license text>
<:Apache 2.0 license text>
If you don't want to disclose the names of the libraries, it would have to be something like
This app contains software under either the MIT or Apache 2.0 license.