Skip to content

Ninja: Do not use module definition `.def` files for static libraries

Brad King requested to merge brad.king/cmake:ninja-no-static-lib-def-file into master

A module definition (.def) file specifies symbols to export from a linked binary. The librarian tool is not a linker and so should not be given a /DEF:... flag with the .def file. The other generators already do not do this, so fix Ninja to be consistent.

Closes: #16537 (closed)

Merge request reports