confLIBDIRS

confLIBDIRS

Linker -L switches Build macro

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).



Sendmail
sendmail, 4th Edition
ISBN: 0596510292
EAN: 2147483647
Year: 2002
Pages: 1174

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net