find_libs man page

find_libs ā€” find pathnames of libraries

Synopsis

find_libs [ -Lpath ... ][ -lname ... ]
find_libs -Help
find_libs -VERSion

Description

The find_libs program is used to find the actual pathname of a library specified on a cc(1) command line. This allows cook(1) to know these dependencies.

Options

The following options are understood.

-Lpath

Specify a path to search for libraries on. If more than one is specified, they will be scanned in the order given before the standard /usr/lib and /lib places. This is like the same argument to cc(1), and the usual find_libs option abbreviation rules do not apply.

-lname

Name a library to be searched for. This is like the same argument to cc(1), and the usual find_libs option abbreviation rules do not apply.

-Help

Give some information on how to use the find_libs command.

-VERSion

Tell the version of the find_libs command currently executing.

All other options will result in a diagnostic error.

Info

Cook Reference Manual