224
231
cmd = '%s --silent --mode=link %s %s -rpath %s -o %s %s %s' % (
225
232
self.LIBTOOL, self.CC, self.LDFLAGS, self.libdir,
226
233
lib.fname, ' '.join([l.fname for l in libobjs]), self.LIBS)
227
234
self._add_dep(lib, libobjs, cmd)
229
236
# load the test program dependencies now
231
238
testhdrs += [File(dirpath, fname, 'h') for dirpath, fname in TEST_HDR_FILES]
232
239
testdeps = [File(dirpath, fname, 'c') for dirpath, fname in TEST_DEPS]
233
240
testobjs = [File(dirpath, fname, 'lo') for dirpath, fname in TEST_DEPS]