Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The -L option is used to specify additional library search directories during the linking phase of building a C/C++ extension module. This option can be configured in the library_dirs parameter of setuptools.Extension. The library_dirs parameter is a list of directories to search for libraries when linking the extension module. The option is configured at the point where the Extension object is created in the setup.py file, which is used by setuptools to build and distribute Python packages.