mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 00:12:05 +01:00 
			
		
		
		
	Luasocket is the most comprehensive networking support library for the Lua language. http://luaforge.net/projects/luasocket/
		
			
				
	
	
		
			21 lines
		
	
	
		
			738 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			738 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| --- ./src/makefile.orig	2013-07-09 14:20:08.772827698 +0000
 | |
| +++ ./src/makefile	2013-07-09 14:22:46.311231590 +0000
 | |
| @@ -142,6 +142,8 @@
 | |
|  #------
 | |
|  # Compiler and linker settings
 | |
|  # for Linux
 | |
| +LUAPC=lua$(LUAV)
 | |
| +LUA_CFLAGS=$(shell pkg-config --cflags $(LUAPC))
 | |
|  SO_linux=so
 | |
|  O_linux=o
 | |
|  CC_linux=gcc
 | |
| @@ -149,7 +151,7 @@
 | |
|  	-DLUASOCKET_API='__attribute__((visibility("default")))' \
 | |
|  	-DUNIX_API='__attribute__((visibility("default")))' \
 | |
|  	-DMIME_API='__attribute__((visibility("default")))'
 | |
| -CFLAGS_linux= -I$(LUAINC) $(DEF) -pedantic -Wall -Wshadow -Wextra \
 | |
| +CFLAGS_linux= $(LUA_CFLAGS) -I$(LUAINC) $(DEF) -pedantic -Wall -Wshadow -Wextra \
 | |
|  	-Wimplicit -O2 -ggdb3 -fpic -fvisibility=hidden
 | |
|  LDFLAGS_linux=-O -shared -fpic -o 
 | |
|  LD_linux=gcc
 |