mirror of
https://github.com/eclipse/mosquitto.git
synced 2025-05-09 01:01:11 +08:00
Merge pull request #1964 from nullr0ute/fix-plugins-install-64bit
Use libdir as the install prefix for plugins
This commit is contained in:
commit
ec1cad0870
@ -77,10 +77,10 @@ test:
|
|||||||
install: all
|
install: all
|
||||||
ifeq ($(WITH_CJSON),yes)
|
ifeq ($(WITH_CJSON),yes)
|
||||||
ifeq ($(WITH_TLS),yes)
|
ifeq ($(WITH_TLS),yes)
|
||||||
$(INSTALL) -d "${DESTDIR}$(prefix)/lib"
|
$(INSTALL) -d "${DESTDIR}$(libdir)"
|
||||||
$(INSTALL) ${STRIP_OPTS} ${PLUGIN_NAME}.so "${DESTDIR}${prefix}/lib/${PLUGIN_NAME}.so"
|
$(INSTALL) ${STRIP_OPTS} ${PLUGIN_NAME}.so "${DESTDIR}${libdir}/${PLUGIN_NAME}.so"
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
uninstall :
|
uninstall :
|
||||||
-rm -f "${DESTDIR}${prefix}/lib/${PLUGIN_NAME}.so"
|
-rm -f "${DESTDIR}${libdir}/${PLUGIN_NAME}.so"
|
||||||
|
@ -20,8 +20,8 @@ test:
|
|||||||
|
|
||||||
install: ${PLUGIN_NAME}.so
|
install: ${PLUGIN_NAME}.so
|
||||||
# Don't install, these are examples only.
|
# Don't install, these are examples only.
|
||||||
#$(INSTALL) -d "${DESTDIR}$(prefix)/lib"
|
#$(INSTALL) -d "${DESTDIR}$(libdir)"
|
||||||
#$(INSTALL) ${STRIP_OPTS} ${PLUGIN_NAME}.so "${DESTDIR}${prefix}/lib/${PLUGIN_NAME}.so"
|
#$(INSTALL) ${STRIP_OPTS} ${PLUGIN_NAME}.so "${DESTDIR}${libdir}/${PLUGIN_NAME}.so"
|
||||||
|
|
||||||
uninstall :
|
uninstall :
|
||||||
-rm -f "${DESTDIR}${prefix}/lib/${PLUGIN_NAME}.so"
|
-rm -f "${DESTDIR}${libdir}/${PLUGIN_NAME}.so"
|
||||||
|
@ -20,8 +20,8 @@ test:
|
|||||||
|
|
||||||
install: ${PLUGIN_NAME}.so
|
install: ${PLUGIN_NAME}.so
|
||||||
# Don't install, these are examples only.
|
# Don't install, these are examples only.
|
||||||
#$(INSTALL) -d "${DESTDIR}$(prefix)/lib"
|
#$(INSTALL) -d "${DESTDIR}$(libdir)"
|
||||||
#$(INSTALL) ${STRIP_OPTS} ${PLUGIN_NAME}.so "${DESTDIR}${prefix}/lib/${PLUGIN_NAME}.so"
|
#$(INSTALL) ${STRIP_OPTS} ${PLUGIN_NAME}.so "${DESTDIR}${libdir}/${PLUGIN_NAME}.so"
|
||||||
|
|
||||||
uninstall :
|
uninstall :
|
||||||
-rm -f "${DESTDIR}${prefix}/lib/${PLUGIN_NAME}.so"
|
-rm -f "${DESTDIR}${libdir}/${PLUGIN_NAME}.so"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user