import Build, Utils, Configure, Task, Options, Logs, TaskGen
from Constants import *
from Configure import conf, conftest
-import ccroot
cfg_ver = {
'atleast-version': '>=',
app('LIB_' + uselib, ot)
elif st == '-L':
if not ot: ot = lst.pop(0)
- if not ccroot.is_standard_libpath(env, ot):
- app('LIBPATH_' + uselib, ot)
+ app('LIBPATH_' + uselib, ot)
elif x == '-pthread' or x.startswith('+'):
app('CCFLAGS_' + uselib, x)
app('CXXFLAGS_' + uselib, x)
# in too old versions of our internal libs.
#
elif x.startswith('-Wl,-R'):
- if not ccroot.is_standard_libpath(env,x[6:]):
- app('RPATH_' + uselib, x[6:])
+ app('RPATH_' + uselib, x[6:])
elif x.startswith('-Wl,-rpath,'):
- if not ccroot.is_standard_libpath(env, x[11:]):
- app('RPATH_' + uselib, x[11:])
+ app('RPATH_' + uselib, x[11:])
elif x.startswith('-Wl'):
app('LINKFLAGS_' + uselib, x)
elif x.startswith('-m') or x.startswith('-f'):