flex: install dev files to staging

Provide the library and headers for flex
in the staging directory
for the target build of packages
that depend on lexical functions.

Signed-off-by: Michael Pratt <mcpratt@pm.me>
This commit is contained in:
Michael Pratt 2022-08-25 15:49:13 -04:00 committed by Rosen Penev
parent 1c49d1a309
commit ac45a74551
1 changed files with 6 additions and 0 deletions

View File

@ -36,6 +36,12 @@ endef
CONFIGURE_ARGS += --disable-shared --disable-bootstrap
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/
endef
define Package/flex/install
$(INSTALL_DIR) $(1)/usr/bin/
$(CP) \