[244] Add note on compiling auth plugin on OSX.

Closes #244.

Bug: https://github.com/eclipse/mosquitto/issues/244
This commit is contained in:
Roger A. Light 2016-08-12 08:00:34 +01:00
parent a0d6da1604
commit 00aa181749

View File

@ -34,6 +34,11 @@ struct mosquitto_auth_opt {
* shared library. Using gcc this can be achieved as follows:
*
* gcc -I<path to mosquitto_plugin.h> -fPIC -shared plugin.c -o plugin.so
*
* On Mac OS X:
*
* gcc -I<path to mosquitto_plugin.h> -fPIC -shared plugin.c -undefined dynamic_lookup -o plugin.so
*
*/
/* =========================================================================