root_command = options.root_command
dist = options.dist
configure_opts = ['--prefix', prefix,
- "LDFLAGS='-Wl,-L"+prefix+"/lib -Wl,-L/usr/lib/freeradius"
- + " -Wl,-rpath="+prefix+"/lib'",
- 'CPPFLAGS="-I '+prefix+'/include"',
+ "LDFLAGS=-Wl,-L"+prefix+"/lib -Wl,-L/usr/lib/freeradius"
+ + " -Wl,-rpath="+prefix+"/lib",
+ 'CPPFLAGS=-I '+prefix+'/include',
'--with-system-libtool', '--with-system-libltdl',
'--enable-tls', '--with-gssapi='+prefix,
"--with-xmltooling="+prefix,
our_schroot = None
if options.schroot is not None:
our_schroot = Schroot(options.schroot)
- schroot_command = "schroot -r -c " + our_schroot.name + ' --'
- root_command = schroot_command + " -u root"
+ schroot_command_base = "schroot -r -c " + our_schroot.name
+ root_command = schroot_command_base + " -u root --"
+ schroot_command = schroot_command_base + ' --'
all_packages = read_packages()
if len(packages) == 0: packages = all_packages