Changeset 2517 for trunk/scons
- Timestamp:
- 05/15/12 15:17:10 (13 years ago)
- Location:
- trunk/scons
- Files:
-
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scons/utils.py
r1465 r2517 4 4 import re 5 5 import platform 6 7 def get_libdir(): 8 import distutils.sysconfig 9 return os.path.basename(distutils.sysconfig.get_config_var('LIBDIR')) 10 11 LIBDIR = "lib" #get_libdir() 6 12 7 13 def generate(env): … … 33 39 env.Exit(1) 34 40 env.PrependUnique(CPPPATH = [os.path.join(path, "include")]) 35 env.PrependUnique(LIBPATH = [os.path.join(path, "lib")])41 env.PrependUnique(LIBPATH = [os.path.join(path, LIBDIR)]) 36 42 env.AddCustomPath = AddCustomPath 37 43 … … 46 52 if pkgroot is not None: 47 53 incd = os.path.join(pkgroot, "include") 48 libd = os.path.join(pkgroot, "lib")54 libd = os.path.join(pkgroot, LIBDIR) 49 55 else: 50 56 if pkgincd is not None:
Note:
See TracChangeset
for help on using the changeset viewer.