mirror of
https://github.com/coolsnowwolf/packages
synced 2025-01-07 07:07:02 +08:00
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
d14c1f1f6f
commit
461ff1a9fd
@ -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 New Issue
Block a user