blob: 11ceef96110b2f79f68d8d13443bd33122dfea94 (
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
|
--- yafray.old/linux-settings.py 2006-07-14 12:14:52.000000000 +0200
+++ yafray/linux-settings.py 2006-07-20 14:38:26.000000000 +0200
@@ -5,13 +5,15 @@
srcroot = os.getcwd()
prefix = ''
+libdif = ''
def init(args):
- global prefix
+ global prefix, libdir
prefix = args.get('prefix','/usr/local')
+ libdir = args.get('libdir','/lib')
-def get_libpath(args): return prefix+"/lib"
-def get_pluginpath(args): return prefix+"/lib/yafray"
+def get_libpath(args): return prefix+libdif
+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):
@@ -40,7 +42,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):
|