flex: Add a lex symlink
Some packages like libpfring assume the presense of lex, which on some
other systems is a symlink to flex but not all. Symlink flex to fix
compilation.
Arch Linux and Fedora do this as far as I know.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(backported from 7ef38e42c8)
			
			
This commit is contained in:
		 Rosen Penev
					Rosen Penev
				
			
				
					committed by
					
						 Jo-Philipp Wich
						Jo-Philipp Wich
					
				
			
			
				
	
			
			
			 Jo-Philipp Wich
						Jo-Philipp Wich
					
				
			
						parent
						
							e2637a471a
						
					
				
				
					commit
					0340d3ad2d
				
			| @@ -21,6 +21,11 @@ include $(INCLUDE_DIR)/host-build.mk | |||||||
|  |  | ||||||
| HOST_CONFIGURE_ARGS += --disable-shared | HOST_CONFIGURE_ARGS += --disable-shared | ||||||
|  |  | ||||||
|  | define Host/Install | ||||||
|  | 	$(call Host/Install/Default) | ||||||
|  | 	$(LN) flex $(STAGING_DIR_HOST)/bin/lex | ||||||
|  | endef | ||||||
|  |  | ||||||
| define Host/Clean | define Host/Clean | ||||||
| 	-$(MAKE) -C $(HOST_BUILD_DIR) uninstall | 	-$(MAKE) -C $(HOST_BUILD_DIR) uninstall | ||||||
| 	$(call Host/Clean/Default) | 	$(call Host/Clean/Default) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user