SPDX Pairwise Compatibility · Both Directions

MPL-2.0 & LGPL-3.0-only License Compatibility

Directional engineering analysis comparing Mozilla Public License 2.0 and GNU Lesser GPL v3.0 only across dependency linking, patent terms, and redistribution obligations.

MPL-2.0 (Dep) → LGPL-3.0-only (Project) COMPATIBLE

Compatible via MPL-2.0 §3.3 Secondary License clause (unless explicitly excluded)

MPL-2.0 automatically permits creating a Larger Work distributed under LGPL-3.0-only via its Secondary License clause (§3.3), unless the upstream repo carries Exhibit B ("Incompatible With Secondary Licenses").

  • Inspect upstream MPL-2.0 file headers for Exhibit B (Incompatible With Secondary Licenses).
  • Keep MPL-2.0 files available under MPL-2.0 as well as the Secondary License.
  • Distribute the combined Larger Work under LGPL-3.0-only.
LGPL-3.0-only (Dep) → MPL-2.0 (Project) CONDITIONAL

LGPL-3.0-only permitted with MPL-2.0 via dynamic linking / relinkable boundary

Your MPL-2.0 application can link an LGPL-3.0-only library without triggering GPL copyleft on your code ONLY if end users can replace/relink the modified LGPL-3.0 library.

  • Prefer dynamic linking (.so / .dll / .dylib / external package) over static linking.
  • If statically linked, supply relinkable object files (.o / .a) plus Installation Information (LGPLv3 §4).
  • Make the LGPL-3.0-only library source and modifications publicly available.

Side-by-Side SPDX License Obligations

Attribute MPL-2.0 LGPL-3.0-only
Full Name Mozilla Public License 2.0 GNU Lesser GPL v3.0 only
OSI Approved Yes Yes
Copyleft Scope Weak (File-level) Weak (Library boundary)
Patent Terms Explicit grant + retaliation Explicit grant + retaliation (GPLv3)
Key Rule File-level weak copyleft allowing Larger Works with proprietary or permissive code, plus Secondary License compatibility for GPL/LGPL/AGPL. Library copyleft permitting linking from proprietary or permissive applications if users can relink modified versions of the LGPL library.

Interactive Compatibility Explorer

Informational engineering matrix based on SPDX / FSF / OSI guidance — not formal legal advice. Consult qualified counsel for commercial license exceptions.
MPL-2.0 (Dependency) → LGPL-3.0-only (Project) COMPATIBLE

Compatible via MPL-2.0 §3.3 Secondary License clause (unless explicitly excluded)

MPL-2.0 automatically permits creating a Larger Work distributed under LGPL-3.0-only via its Secondary License clause (§3.3), unless the upstream repo carries Exhibit B ("Incompatible With Secondary Licenses").

Engineering Obligations & Actions
  • Inspect upstream MPL-2.0 file headers for Exhibit B (Incompatible With Secondary Licenses).
  • Keep MPL-2.0 files available under MPL-2.0 as well as the Secondary License.
  • Distribute the combined Larger Work under LGPL-3.0-only.

Frequently Asked Questions

Can a LGPL-3.0-only project use a MPL-2.0 dependency?

COMPATIBLE: MPL-2.0 automatically permits creating a Larger Work distributed under LGPL-3.0-only via its Secondary License clause (§3.3), unless the upstream repo carries Exhibit B ("Incompatible With Secondary Licenses").

Can a MPL-2.0 project use a LGPL-3.0-only dependency?

CONDITIONAL: Your MPL-2.0 application can link an LGPL-3.0-only library without triggering GPL copyleft on your code ONLY if end users can replace/relink the modified LGPL-3.0 library.

Is this matrix formal legal advice?

No. This is an informational engineering compatibility matrix based on SPDX, FSF, and OSI licensing guidance. Consult qualified legal counsel for binding commercial or dual-licensing reviews.