Build on ubuntu (Ian McKellar, issue #22)

git-svn-id: http://llvm-py.googlecode.com/svn/trunk@77 8d1e9007-1d4e-0410-b67e-1979fd6579aa
This commit is contained in:
mdevan.foobar 2009-09-20 09:08:34 +00:00
commit a0d353f9a1

View file

@ -46,8 +46,7 @@ def get_libs_and_objs(llvm_config, components):
for part in parts:
if part.startswith('-l'):
libs.append(part[2:])
else:
assert part.endswith('.o')
elif part.endswith('.o'):
# objs.append(part[:-2])
objs.append(part) # eh, looks like we need the .o after all
return (libs, objs)