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 <redacted>
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) \