-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathlua-5.1.4-mingw.patch
More file actions
29 lines (26 loc) · 900 Bytes
/
lua-5.1.4-mingw.patch
File metadata and controls
29 lines (26 loc) · 900 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
diff -u -r a/Makefile b/Makefile
--- a/Makefile 2008-08-12 00:40:48 +0000
+++ b/Makefile 2010-05-08 19:02:46 +0000
@@ -5,11 +5,11 @@
# == CHANGE THE SETTINGS BELOW TO SUIT YOUR ENVIRONMENT =======================
# Your platform. See PLATS for possible values.
-PLAT= none
+PLAT= mingw
# Where to install. The installation starts in the src and doc directories,
# so take care if INSTALL_TOP is not an absolute path.
-INSTALL_TOP= /usr/local
+INSTALL_TOP=
INSTALL_BIN= $(INSTALL_TOP)/bin
INSTALL_INC= $(INSTALL_TOP)/include
INSTALL_LIB= $(INSTALL_TOP)/lib
diff -u -r a/etc/lua.pc b/etc/lua.pc
--- a/etc/lua.pc 2008-08-08 12:46:12 +0000
+++ b/etc/lua.pc 2010-05-08 19:04:43 +0000
@@ -8,7 +8,7 @@
R= 5.1.4
# grep '^INSTALL_.*=' ../Makefile | sed 's/INSTALL_TOP/prefix/'
-prefix= /usr/local
+prefix=
INSTALL_BIN= ${prefix}/bin
INSTALL_INC= ${prefix}/include
INSTALL_LIB= ${prefix}/lib