build lua dynamically
. allows modules to be loaded Fix submitted by Marc Balmer <mbalmer@NetBSD.org> Change-Id: I6b2d19c2c9b136f0d72d2f714027221c0b86b5ae
This commit is contained in:
		
							parent
							
								
									0d9602e04b
								
							
						
					
					
						commit
						5075cea916
					
				
							
								
								
									
										6
									
								
								external/mit/lua/usr.bin/lua/Makefile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								external/mit/lua/usr.bin/lua/Makefile
									
									
									
									
										vendored
									
									
								
							@ -4,6 +4,12 @@ PROG=		lua
 | 
			
		||||
SRCS=		lua.c
 | 
			
		||||
BINDIR=		/usr/bin
 | 
			
		||||
 | 
			
		||||
.if defined(__MINIX)
 | 
			
		||||
# BJG - lua has to be dynamic to allow loading modules
 | 
			
		||||
# Diagnosed by Marc Balmer
 | 
			
		||||
LDSTATIC=-dynamic
 | 
			
		||||
.endif # defined(__MINIX)
 | 
			
		||||
 | 
			
		||||
CPPFLAGS+=	-DLUA_USE_READLINE
 | 
			
		||||
 | 
			
		||||
LDADD+=		-llua -lm -ledit -lterminfo
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user