mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-02-07 03:52:00 +08:00
The AIX operating system by IBM does not provide the getifaddrs function and requires a custom linker script syntax. This commit allows for a basic GCC build on AIX 7.2. The build was tested using the command lines make CC=gcc WITH_CJSON=no WITH_DOCS=no WITH_STATIC_LIBRARIES=yes and CC=gcc cmake <srcpath> -DDOCUMENTATION=no At this point, the persistence test suite seems to fail. The library, as well as the mosquitto_sub and mosquitto_pub executables were tested and appear to be functional. Signed-off-by: Andreas Kempf <aakempf@gmail.com>