From 7685ddaa07851b78680c8f1124f4bce03c2141f7 Mon Sep 17 00:00:00 2001 From: Eneas U de Queiroz Date: Tue, 5 May 2020 10:18:42 -0300 Subject: [PATCH] openzwave: avoid /usr/include in libopenzwave.pc This adds a line in Build/InstallDev to change a hardcoded '/usr/include' definition in the staging_dir libopenzwave.pc file to use ${prefix}/include instead. Otherwise dependent packages may fail to find them. Signed-off-by: Eneas U de Queiroz --- utils/openzwave/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/openzwave/Makefile b/utils/openzwave/Makefile index 9768f6e4a..0783466fe 100644 --- a/utils/openzwave/Makefile +++ b/utils/openzwave/Makefile @@ -90,6 +90,7 @@ define Build/InstallDev $(CP) $(PKG_INSTALL_DIR)/usr/lib/libopenzwave.* $(1)/usr/lib/ $(INSTALL_DIR) $(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 endef $(eval $(call BuildPackage,libopenzwave))