3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-02 20:31:21 +00:00

Build fix for C++ example

This commit is contained in:
Christoph M. Wintersteiger 2016-12-09 19:09:47 +00:00
parent 4c664f1c05
commit 649d474686

View file

@ -2086,12 +2086,12 @@ class CppExampleComponent(ExampleComponent):
exefile = '%s$(EXE_EXT)' % self.name exefile = '%s$(EXE_EXT)' % self.name
out.write('%s: %s %s\n' % (exefile, dll, objfiles)) out.write('%s: %s %s\n' % (exefile, dll, objfiles))
out.write('\t$(LINK) $(LINK_OUT_FLAG)%s $(LINK_FLAGS) %s ' % (exefile, objfiles)) out.write('\t$(SLINK) $(SLINK_OUT_FLAG)%s $(SLINK_FLAGS) %s ' % (exefile, objfiles))
if IS_WINDOWS: if IS_WINDOWS:
out.write('%s.lib' % dll_name) out.write('%s.lib' % dll_name)
else: else:
out.write(dll) out.write(dll)
out.write(' $(LINK_EXTRA_FLAGS)\n') out.write(' $(SLINK_EXTRA_FLAGS)\n')
out.write('_ex_%s: %s\n\n' % (self.name, exefile)) out.write('_ex_%s: %s\n\n' % (self.name, exefile))
class CExampleComponent(CppExampleComponent): class CExampleComponent(CppExampleComponent):