aboutsummaryrefslogtreecommitdiff
path: root/lang/tolua++50/files/patch-config_posix.py
blob: 3d001f49dd63308a42a5a51a40b6aa37908ab669 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- ./config_posix.py.orig	Fri Jan 21 00:01:08 2005
+++ ./config_posix.py	Sun Aug 27 14:25:40 2006
@@ -5,7 +5,7 @@
 
 # flags for the compiler
 #CCFLAGS = []
-CCFLAGS = ['-O2', '-ansi', '-Wall']
+CCFLAGS = ['-O2', '-ansi', '-Wall', '-I%%LOCALBASE%%/include', '-I%%LUA_INCDIR%%']
 
 # this is the default directory for installation. Files will be installed on
 # <prefix>/bin, <prefix>/lib and <prefix>/include when you run 'scons install'
@@ -16,6 +16,6 @@
 prefix = '/usr/local'
 
 # libraries
-LIBS = ['lua', 'lualib', 'm']
-
+LIBS = ['lua-%%LUA_VER%%', 'lualib-%%LUA_VER%%', 'm']
+LINKFLAGS = ['-L%%LOCALBASE%%/lib', '-L%%LUA_LIBDIR%%']