Browse Source

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 <cotequeiroz@gmail.com>
lilik-openwrt-22.03
Eneas U de Queiroz 5 years ago
parent
commit
7685ddaa07
No known key found for this signature in database GPG Key ID: 1EB043ABD7ACF202
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      utils/openzwave/Makefile

+ 1
- 0
utils/openzwave/Makefile View File

@ -90,6 +90,7 @@ define Build/InstallDev
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libopenzwave.* $(1)/usr/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libopenzwave.* $(1)/usr/lib/
$(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
endef endef
$(eval $(call BuildPackage,libopenzwave)) $(eval $(call BuildPackage,libopenzwave))


Loading…
Cancel
Save