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:
parent
f3989aa240
commit
a0d353f9a1
1 changed files with 1 additions and 2 deletions
3
setup.py
3
setup.py
|
|
@ -46,8 +46,7 @@ def get_libs_and_objs(llvm_config, components):
|
||||||
for part in parts:
|
for part in parts:
|
||||||
if part.startswith('-l'):
|
if part.startswith('-l'):
|
||||||
libs.append(part[2:])
|
libs.append(part[2:])
|
||||||
else:
|
elif part.endswith('.o'):
|
||||||
assert part.endswith('.o')
|
|
||||||
# objs.append(part[:-2])
|
# objs.append(part[:-2])
|
||||||
objs.append(part) # eh, looks like we need the .o after all
|
objs.append(part) # eh, looks like we need the .o after all
|
||||||
return (libs, objs)
|
return (libs, objs)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue