Browse Source

openzwave: fix pkgconfig libdir paths

It's currently pointing to the host.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 4 years ago
parent
commit
433f947dea
No known key found for this signature in database GPG Key ID: 36D31CFA845F0E3B
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      utils/openzwave/Makefile

+ 2
- 1
utils/openzwave/Makefile View File

@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=openzwave PKG_NAME:=openzwave
PKG_VERSION:=1.6.1149 PKG_VERSION:=1.6.1149
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://old.openzwave.com/downloads PKG_SOURCE_URL:=http://old.openzwave.com/downloads
@ -91,6 +91,7 @@ define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libopenzwave.pc $(1)/usr/lib/pkgconfig/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libopenzwave.pc $(1)/usr/lib/pkgconfig/
$(SED) 's,/usr/include,$$$${prefix}/include,g' $(1)/usr/lib/pkgconfig/libopenzwave.pc $(SED) 's,/usr/include,$$$${prefix}/include,g' $(1)/usr/lib/pkgconfig/libopenzwave.pc
$(SED) 's,/usr/lib,$$$${exec_prefix}/lib,g' $(1)/usr/lib/pkgconfig/libopenzwave.pc
endef endef
$(eval $(call BuildPackage,libopenzwave)) $(eval $(call BuildPackage,libopenzwave))


Loading…
Cancel
Save