Skip to content

Commit

Permalink
lets also suppress gcc output
Browse files Browse the repository at this point in the history
  • Loading branch information
J.A. Roberts Tunney committed Aug 21, 2010
1 parent 43380e0 commit 63e99f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fabulous/xterm256.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def compile_speedup():
sauce = join(dirname(__file__), '_xterm256.c')
if not exists(library) or getmtime(sauce) > getmtime(library):
build = "gcc -fPIC -shared -o %s %s" % (library, sauce)
assert os.system(build) == 0
assert os.system(build + " >/dev/null 2>&1") == 0
xterm256_c = ctypes.cdll.LoadLibrary(library)
xterm256_c.init()
def xterm_to_rgb(xcolor):
Expand Down

0 comments on commit 63e99f8

Please sign in to comment.