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:
parent
1c49d1a309
commit
ac45a74551
1 changed files with 6 additions and 0 deletions
|
@ -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) \
|
||||
|
|
Loading…
Reference in a new issue