We don't want to add any declaration properties for the static library, as the static library doesn't export or import anything, so when STATIC_LIB is defined the libmosq_EXPORT defines to nothing
Signed-off-by: Ian Johnson <ijohnson@wolfram.com>
This commit is contained in:
parent
13f28d1c1e
commit
93906b9dfd
@ -21,7 +21,7 @@ Contributors:
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(WIN32) && !defined(WITH_BROKER)
|
#if defined(WIN32) && !defined(WITH_BROKER) && !defined(STATIC_LIB)
|
||||||
# ifdef libmosquitto_EXPORTS
|
# ifdef libmosquitto_EXPORTS
|
||||||
# define libmosq_EXPORT __declspec(dllexport)
|
# define libmosq_EXPORT __declspec(dllexport)
|
||||||
# else
|
# else
|
||||||
|
Loading…
Reference in New Issue
Block a user