Name

confLIBDIRS

Synopsis

The confLIBDIRS macro defines the directories that are searched for library files (using the linker’s -L switch). The libraries in these directories are searched before the standard system libraries. Consider the desire to have libraries in the path /usr/local/lib used by the linker in preference to those in the standard library path:

APPENDDEF(`confLIBDIRS', `-L/usr/local/lib')

For example, multiple libraries can be searched by listing them in a single definition:

APPENDDEF(`confLIBDIRS', `-L/usr/local/lib -L/usr/tools/lib')

Note that the values defined for this macro must be prefixed by a literal -L. This confLIBDIRS macro is often used in conjunction with the confINCDIRS macro (confINCDIRS).

Get Sendmail, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.