diff options
| author | Diego Nehab <diego@impa.br> | 2013-06-11 17:20:27 +0800 |
|---|---|---|
| committer | Diego Nehab <diego@impa.br> | 2013-06-11 17:20:27 +0800 |
| commit | 906abf29d146272512feddd74005a8833ee34e7d (patch) | |
| tree | 0f2901170a39cdd7b33557966d5fe6f8298388e0 /src/makefile | |
| parent | bc709ac7b71a1a2e8542c30a9c0dd07e6f70c0a0 (diff) | |
| download | luasocket-906abf29d146272512feddd74005a8833ee34e7d.tar.gz luasocket-906abf29d146272512feddd74005a8833ee34e7d.tar.bz2 luasocket-906abf29d146272512feddd74005a8833ee34e7d.zip | |
Fix unix export marker.
Diffstat (limited to 'src/makefile')
| -rw-r--r-- | src/makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/makefile b/src/makefile index f7b0401..313ca51 100644 --- a/src/makefile +++ b/src/makefile | |||
| @@ -131,6 +131,7 @@ O_macosx=o | |||
| 131 | CC_macosx=gcc | 131 | CC_macosx=gcc |
| 132 | DEF_macosx= -DLUASOCKET_$(DEBUG) -DUNIX_HAS_SUN_LEN -DLUA_$(COMPAT)_MODULE \ | 132 | DEF_macosx= -DLUASOCKET_$(DEBUG) -DUNIX_HAS_SUN_LEN -DLUA_$(COMPAT)_MODULE \ |
| 133 | -DLUASOCKET_API='__attribute__((visibility("default")))' \ | 133 | -DLUASOCKET_API='__attribute__((visibility("default")))' \ |
| 134 | -DUNIX_API='__attribute__((visibility("default")))' \ | ||
| 134 | -DMIME_API='__attribute__((visibility("default")))' | 135 | -DMIME_API='__attribute__((visibility("default")))' |
| 135 | CFLAGS_macosx= -I$(LUAINC) $(DEF) -pedantic -Wall -O2 -fno-common \ | 136 | CFLAGS_macosx= -I$(LUAINC) $(DEF) -pedantic -Wall -O2 -fno-common \ |
| 136 | -fvisibility=hidden | 137 | -fvisibility=hidden |
| @@ -146,6 +147,7 @@ O_linux=o | |||
| 146 | CC_linux=gcc | 147 | CC_linux=gcc |
| 147 | DEF_linux=-DLUASOCKET_$(DEBUG) -DLUA_$(COMPAT)_MODULE \ | 148 | DEF_linux=-DLUASOCKET_$(DEBUG) -DLUA_$(COMPAT)_MODULE \ |
| 148 | -DLUASOCKET_API='__attribute__((visibility("default")))' \ | 149 | -DLUASOCKET_API='__attribute__((visibility("default")))' \ |
| 150 | -DUNIX_API='__attribute__((visibility("default")))' \ | ||
| 149 | -DMIME_API='__attribute__((visibility("default")))' | 151 | -DMIME_API='__attribute__((visibility("default")))' |
| 150 | CFLAGS_linux= -I$(LUAINC) $(DEF) -pedantic -Wall -Wshadow -Wextra \ | 152 | CFLAGS_linux= -I$(LUAINC) $(DEF) -pedantic -Wall -Wshadow -Wextra \ |
| 151 | -Wimplicit -O2 -ggdb3 -fpic -fvisibility=hidden | 153 | -Wimplicit -O2 -ggdb3 -fpic -fvisibility=hidden |
