This refers to any third-party libraries that your module might require, such as the MySQL, LDAP, and OpenSSL libraries, or any other library. Such dependencies will require changes to the configure script which is run before
proftpd is compiled.
To have a library linkage (e.g.
added to the Makefile, use the special
near the top of your module's source file:
/* * GPL, other header information here * * DO NOT EDIT THE LINE BELOW * * $Libraries: -lcrypto $ */This covers the case where the library in question is common, and applies to all platforms.
If that library is in a non-standard location, a library path may need to
provided (i.e. the
-L option). This can be done at
configure-time using the
--with-libraries configure option:
./configure --with-libraries=/path/to/other/library ...Alternatively, the
LDFLAGSenvironment variable can be used to pass linker information into the configure process:
LDFLAGS=linker-options ./configure ...If use of
LDFLAGSis necessary when building your module, make sure to include this requirement as part of your module's documentation.