blob: adab682c93e8761f5b8849a1b5e586e5dbd524f9 (
plain)
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
30
31
|
--- linux-settings.old 2005-07-06 06:12:10.000000000 +1000
+++ linux-settings.py 2005-08-23 20:28:12.000000000 +1000
@@ -5,13 +5,15 @@
srcroot = os.getcwd()
prefix = ''
+libdir = ''
def init(args):
- global prefix
+ global prefix, libdir
prefix = args.get('prefix','/usr/local')
-
-def get_libpath(args): return prefix+"/lib"
-def get_pluginpath(args): return prefix+"/lib/yafray"
+ libdir = args.get('libdir','/lib')
+
+def get_libpath(args): return prefix+libdir
+def get_pluginpath(args): return prefix+libdir+"/yafray"
def get_binpath(args): return prefix+"/bin"
def get_confpath(args): return prefix+"/etc"
def get_cxxflags(args):
@@ -34,7 +36,7 @@
return False
def get_include(args): return [ exr.PATH + "/include/OpenEXR" ]
- def get_libpath(args): return [ exr.PATH + "/lib" ]
+ def get_libpath(args): return [ exr.PATH + libdir ]
def get_libs(args): return ['IlmImf', 'Imath', 'Iex', 'Half']
class jpeg(globalinfo.library):
|