Commit 08b0500e authored by John Zhang's avatar John Zhang

fix case when ZEBU_BUILD not defined

parent 2b070f15
......@@ -7,6 +7,8 @@ NOTE: THIS FILE IS *NOT* RPYTHON.
from rpython.rtyper.lltypesystem import rffi
from rpython.rtyper.lltypesystem import lltype
from rpython.tool.udir import udir
import os
class CCall(object):
__slots__ = ('fnc_name', 'args', 'rtn_var', 'context', 'check_err')
......@@ -226,7 +228,7 @@ class APILogger:
defs = [
('OBJECTS', ' '.join(['file_%d.o' % i for i in range(num_c_files)]) + ' main.o'),
('INCLUDEDIRS', '-I$(MU_ZEBU)/src/vm/api'),
('LIBDIRS', '-L$(MU_ZEBU)/target/$(ZEBU_BUILD)'),
('LIBDIRS', '-L$(MU_ZEBU)/target/%s' % os.environ.get('ZEBU_BUILD', 'debug')),
('LIBS', '-lmu'),
('TARGET', target),
('CC', platform.cc),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment