mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 06:51:51 +08:00
mosquitto: fix installing libraries
Use cp instead of install when installing libraries to not follow symlinks and create duplicate files. Fixes:aa89f847("mosquitto: update to 2.0.18") Signed-off-by: George Sapkin <george@sapk.in> (cherry picked from commitcc4f8076d9)
This commit is contained in:
committed by
Josef Schlehofer
parent
915530a093
commit
2ea9c61a22
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=mosquitto
|
||||
PKG_VERSION:=2.0.18
|
||||
PKG_RELEASE:=3
|
||||
PKG_RELEASE:=4
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://mosquitto.org/files/source/
|
||||
@@ -214,13 +214,13 @@ endef
|
||||
# This installs files on the target. Compare with Build/InstallDev
|
||||
define Package/libmosquitto-ssl/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/libmosquitto.so.* $(1)/usr/lib/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libmosquitto.so.* $(1)/usr/lib/
|
||||
endef
|
||||
Package/libmosquitto-nossl/install = $(Package/libmosquitto-ssl/install)
|
||||
|
||||
define Package/libmosquittopp/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/libmosquittopp.so.* $(1)/usr/lib/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libmosquittopp.so.* $(1)/usr/lib/
|
||||
endef
|
||||
|
||||
# Applies to all...
|
||||
|
||||
Reference in New Issue
Block a user