Commit aa695c46 authored by Javad Ebrahimian Amiri's avatar Javad Ebrahimian Amiri

Modified some lib directories

parent 9aef834d
...@@ -11,7 +11,7 @@ from rpython.rlib.objectmodel import specialize ...@@ -11,7 +11,7 @@ from rpython.rlib.objectmodel import specialize
import os import os
zebu_build = os.environ.get('ZEBU_BUILD', 'release') zebu_build = os.environ.get('ZEBU_BUILD', 'release')
libmu_dir = os.path.join(os.getenv('MU_ZEBU'), 'target', zebu_build) libmu_dir = os.path.join(os.getenv('MU_ZEBU'), 'target', zebu_build, 'deps')
eci = ExternalCompilationInfo(libraries=['mu'], eci = ExternalCompilationInfo(libraries=['mu'],
library_dirs=[libmu_dir]) library_dirs=[libmu_dir])
......
...@@ -226,7 +226,7 @@ class APILogger: ...@@ -226,7 +226,7 @@ class APILogger:
defs = [ defs = [
('OBJECTS', ' '.join(['file_%d.o' % i for i in range(num_c_files)]) + ' main.o'), ('OBJECTS', ' '.join(['file_%d.o' % i for i in range(num_c_files)]) + ' main.o'),
('INCLUDEDIRS', '-I$(MU_ZEBU)/src/vm/api'), ('INCLUDEDIRS', '-I$(MU_ZEBU)/src/vm/api'),
('LIBDIRS', '-L$(MU_ZEBU)/target/%s' % os.environ.get('ZEBU_BUILD', 'release')), ('LIBDIRS', '-L$(MU_ZEBU)/target/%s/deps' % os.environ.get('ZEBU_BUILD', 'release')),
('LIBS', '-lmu'), ('LIBS', '-lmu'),
('TARGET', target), ('TARGET', target),
('CC', platform.cc), ('CC', platform.cc),
......
...@@ -743,7 +743,7 @@ class APILogger: ...@@ -743,7 +743,7 @@ class APILogger:
""" % { """ % {
'include_dir': '$(MU_HOLSTEIN)/cbinding' if opts.impl == 'ref' else '$(MU_ZEBU)/src/vm/api', 'include_dir': '$(MU_HOLSTEIN)/cbinding' if opts.impl == 'ref' else '$(MU_ZEBU)/src/vm/api',
'link_dir': '$(MU_HOLSTEIN)/cbinding' if opts.impl == 'ref' else '$(MU_ZEBU)/target/debug', 'link_dir': '$(MU_HOLSTEIN)/cbinding' if opts.impl == 'ref' else '$(MU_ZEBU)/target/debug/deps',
'libmu': 'murefimpl2start' if opts.impl == 'ref' else 'mu' 'libmu': 'murefimpl2start' if opts.impl == 'ref' else 'mu'
}) })
......
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