From a0d353f9a194293fe76edff00297b033a26ace68 Mon Sep 17 00:00:00 2001 From: "mdevan.foobar" Date: Sun, 20 Sep 2009 09:08:34 +0000 Subject: [PATCH] Build on ubuntu (Ian McKellar, issue #22) git-svn-id: http://llvm-py.googlecode.com/svn/trunk@77 8d1e9007-1d4e-0410-b67e-1979fd6579aa --- setup.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup.py b/setup.py index c593235..ab8ed35 100755 --- a/setup.py +++ b/setup.py @@ -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)