guowenxue
2022-04-10 c7685f9912e89509acff5d2db54f9b3e955df2ee
Update mosquitto build shell script to fix install bug
1 files modified
5 ■■■■ changed files
3rdparty/x86/mosquitto/build.sh 5 ●●●● patch | view | raw | blame | history
3rdparty/x86/mosquitto/build.sh
@@ -54,7 +54,7 @@
    SRC_NAME=mosquitto-2.0.14
    PACK_SUFIX=tar.gz
    if [ -f ${PREFIX_PATH}/lib/libmosquitto.so ] ; then
    if [ -f ${LIBS_PATH}/lib/libmosquitto.so ] ; then
        msg_banner "$SRC_NAME already compile and installed"
        return 0;
    fi
@@ -85,6 +85,9 @@
    CLIENT_LDFLAGS="-L ${LIBS_PATH}/lib" PLUGIN_LDFLAGS="-L ${LIBS_PATH}/lib" BROKER_LDFLAGS="-L ${LIBS_PATH}/lib"
    check_result "ERROR: compile ${SRC_NAME} failure"
    make DESTDIR=${LIBS_PATH} install
    check_result "ERROR: install ${SRC_NAME} failure"
}
# compile cjson first