From a257f44b301cc6bac93258b17c749567828e77e8 Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Sun, 25 Feb 2018 20:06:02 +0100 Subject: [PATCH] tiff: install headers of the c++ bindings Make sure that the c++ headers get installed to the staging directory when libtiffxx was selected/built. Signed-off-by: Sebastian Kemper --- libs/tiff/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libs/tiff/Makefile b/libs/tiff/Makefile index 54e603091..b666e0a0a 100644 --- a/libs/tiff/Makefile +++ b/libs/tiff/Makefile @@ -74,10 +74,15 @@ CONFIGURE_ARGS += \ --disable-jbig \ --without-x +define Build/InstallDev/hxx + $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/*.hxx $(1)/usr/include/ +endef + define Build/InstallDev $(INSTALL_DIR) $(1)/usr/{lib,include} $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib* $(1)/usr/lib/ $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/*.h $(1)/usr/include/ + $(if $(CONFIG_PACKAGE_libtiffxx), $(call Build/InstallDev/hxx,$(1))) endef define Package/libtiff/install