Skip to content

Commit

Permalink
Removed incorrect include directories flag in ocaml META file
Browse files Browse the repository at this point in the history
  • Loading branch information
philzook58 authored and NikolajBjorner committed Oct 26, 2019
1 parent 14c42c1 commit ed03c1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions scripts/mk_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -1975,12 +1975,7 @@ def mk_makefile(self, out):
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'),
Expand Down
2 changes: 1 addition & 1 deletion src/api/ml/META.in
Original file line number Diff line number Diff line change
Expand Up @@ -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++"

0 comments on commit ed03c1d

Please sign in to comment.