mirror of https://github.com/openwrt/packages.git
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>pull/19337/head
parent
1c49d1a309
commit
ac45a74551
|
@ -36,6 +36,12 @@ endef
|
||||||
|
|
||||||
CONFIGURE_ARGS += --disable-shared --disable-bootstrap
|
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
|
define Package/flex/install
|
||||||
$(INSTALL_DIR) $(1)/usr/bin/
|
$(INSTALL_DIR) $(1)/usr/bin/
|
||||||
$(CP) \
|
$(CP) \
|
||||||
|
|
Loading…
Reference in New Issue