From 00aa18174915dc48c42910e979dcb83eaa97c782 Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Fri, 12 Aug 2016 08:00:34 +0100 Subject: [PATCH] [244] Add note on compiling auth plugin on OSX. Closes #244. Bug: https://github.com/eclipse/mosquitto/issues/244 --- src/mosquitto_plugin.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mosquitto_plugin.h b/src/mosquitto_plugin.h index e6ec5c0b..5b6449c0 100644 --- a/src/mosquitto_plugin.h +++ b/src/mosquitto_plugin.h @@ -34,6 +34,11 @@ struct mosquitto_auth_opt { * shared library. Using gcc this can be achieved as follows: * * gcc -I -fPIC -shared plugin.c -o plugin.so + * + * On Mac OS X: + * + * gcc -I -fPIC -shared plugin.c -undefined dynamic_lookup -o plugin.so + * */ /* =========================================================================