3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-05 17:14:07 +00:00

Removed incorrect include directories flag in ocaml META file

This commit is contained in:
philzook58 2019-10-25 17:56:44 -04:00 committed by Nikolaj Bjorner
parent 14c42c1d74
commit ed03c1d9e6
2 changed files with 2 additions and 7 deletions

View file

@ -1975,12 +1975,7 @@ class MLComponent(Component):
else:
out.write('CXXFLAGS_OCAML=$(subst -std=c++11,,$(CXXFLAGS))\n')
if IS_WINDOWS:
prefix_lib = '-L' + os.path.abspath(BUILD_DIR).replace('\\', '\\\\')
else:
prefix_lib = '-L' + PREFIX + '/lib'
substitutions = { 'LEXTRA': prefix_lib,
'VERSION': "{}.{}.{}.{}".format(VER_MAJOR, VER_MINOR, VER_BUILD, VER_TWEAK) }
substitutions = { 'VERSION': "{}.{}.{}.{}".format(VER_MAJOR, VER_MINOR, VER_BUILD, VER_TWEAK) }
configure_file(os.path.join(self.src_dir, 'META.in'),
os.path.join(BUILD_DIR, self.sub_dir, 'META'),

View file

@ -8,4 +8,4 @@ archive(byte,plugin) = "z3ml.cma"
archive(native,plugin) = "z3ml.cmxs"
archive(byte,toploop) = "z3ml.cma"
archive(native,toploop) = "z3ml.cmxa"
linkopts = "-cclib -lstdc++ @LEXTRA@"
linkopts = "-cclib -lstdc++"