blob: 05513782e416198f780f75efe8ce229c9541c431 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001--- a/config
2+++ b/config
3@@ -1,15 +1,15 @@
4 # Installation directories
5
6 # Default prefix
7-PREFIX ?= /usr/local
8+PREFIX ?= /usr
9
10 DESTDIR ?= /
11
12 # System's libraries directory (where binary libraries are installed)
13-LUA_LIBDIR ?= $(PREFIX)/lib/lua/5.1
14+LUA_LIBDIR ?= $(PREFIX)/lib/lua
15
16 # System's lua directory (where Lua libraries are installed)
17-LUA_DIR ?= $(PREFIX)/share/lua/5.1
18+LUA_DIR ?= $(PREFIX)/lib/lua
19
20 # Lua includes directory
21 LUA_INC ?= $(PREFIX)/include
22@@ -24,6 +24,5 @@ LIBNAME ?= $T.so.$V
23 WARN ?= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -Wpointer-arith -pedantic
24 INCS ?= -I$(LUA_INC)
25 CFLAGS ?= $(WARN) $(INCS)
26-CC ?= gcc
27
28 # $Id: config,v 1.7 2007/10/29 22:51:39 carregal Exp $