mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 20:18:18 +00:00
OSX again
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
7ebc6fdd66
commit
cf04bf9959
|
@ -63,7 +63,7 @@ add_lib('api', ['portfolio', 'user_plugin'])
|
||||||
add_exe('shell', ['api', 'sat', 'extra_cmds'], exe_name='z3')
|
add_exe('shell', ['api', 'sat', 'extra_cmds'], exe_name='z3')
|
||||||
add_exe('test', ['api', 'fuzzing'], exe_name='test-z3')
|
add_exe('test', ['api', 'fuzzing'], exe_name='test-z3')
|
||||||
API_files = ['z3_api.h']
|
API_files = ['z3_api.h']
|
||||||
add_dll('api_dll', ['sat', 'extra_cmds'], 'api/dll', reexports=['api'], dll_name='z3', export_files=API_files)
|
add_dll('api_dll', ['api', 'sat', 'extra_cmds'], 'api/dll', reexports=['api'], dll_name='z3', export_files=API_files)
|
||||||
add_dot_net_dll('dotnet', ['api_dll'], 'bindings/dotnet/Microsoft.Z3', dll_name='Microsoft.Z3', assembly_info_dir='Properties')
|
add_dot_net_dll('dotnet', ['api_dll'], 'bindings/dotnet/Microsoft.Z3', dll_name='Microsoft.Z3', assembly_info_dir='Properties')
|
||||||
add_dot_net_dll('dotnetV3', ['api_dll'], 'bindings/dotnet/Microsoft.Z3V3', dll_name='Microsoft.Z3V3')
|
add_dot_net_dll('dotnetV3', ['api_dll'], 'bindings/dotnet/Microsoft.Z3V3', dll_name='Microsoft.Z3V3')
|
||||||
set_python_dir('bindings/python')
|
set_python_dir('bindings/python')
|
||||||
|
|
|
@ -341,10 +341,6 @@ class DLLComponent(Component):
|
||||||
dll_name = name
|
dll_name = name
|
||||||
self.dll_name = dll_name
|
self.dll_name = dll_name
|
||||||
self.export_files = export_files
|
self.export_files = export_files
|
||||||
new_deps = find_all_deps(name, reexports)
|
|
||||||
for new_dep in new_deps:
|
|
||||||
if not new_dep in reexports:
|
|
||||||
self.deps.append(new_dep)
|
|
||||||
self.reexports = reexports
|
self.reexports = reexports
|
||||||
|
|
||||||
def mk_makefile(self, out):
|
def mk_makefile(self, out):
|
||||||
|
@ -371,8 +367,9 @@ class DLLComponent(Component):
|
||||||
out.write(' ')
|
out.write(' ')
|
||||||
out.write(obj)
|
out.write(obj)
|
||||||
for dep in deps:
|
for dep in deps:
|
||||||
c_dep = _Name2Component[dep]
|
if not dep in self.reexports:
|
||||||
out.write(' %s/%s$(LIB_EXT)' % (c_dep.build_dir, c_dep.name))
|
c_dep = _Name2Component[dep]
|
||||||
|
out.write(' %s/%s$(LIB_EXT)' % (c_dep.build_dir, c_dep.name))
|
||||||
out.write('\n')
|
out.write('\n')
|
||||||
out.write('\t$(LINK) $(SLINK_OUT_FLAG)%s $(SLINK_FLAGS)' % dllfile)
|
out.write('\t$(LINK) $(SLINK_OUT_FLAG)%s $(SLINK_FLAGS)' % dllfile)
|
||||||
for obj in objs:
|
for obj in objs:
|
||||||
|
|
Loading…
Reference in a new issue