Browse Source

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 <sebastian_ml@gmx.net>
lilik-openwrt-22.03
Sebastian Kemper 7 years ago
parent
commit
a257f44b30
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      libs/tiff/Makefile

+ 5
- 0
libs/tiff/Makefile View File

@ -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


Loading…
Cancel
Save