Skip to content

Commit ed03c1d

Browse files
philzook58NikolajBjorner
authored andcommitted
Removed incorrect include directories flag in ocaml META file
1 parent 14c42c1 commit ed03c1d

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

scripts/mk_util.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1975,12 +1975,7 @@ def mk_makefile(self, out):
19751975
else:
19761976
out.write('CXXFLAGS_OCAML=$(subst -std=c++11,,$(CXXFLAGS))\n')
19771977

1978-
if IS_WINDOWS:
1979-
prefix_lib = '-L' + os.path.abspath(BUILD_DIR).replace('\\', '\\\\')
1980-
else:
1981-
prefix_lib = '-L' + PREFIX + '/lib'
1982-
substitutions = { 'LEXTRA': prefix_lib,
1983-
'VERSION': "{}.{}.{}.{}".format(VER_MAJOR, VER_MINOR, VER_BUILD, VER_TWEAK) }
1978+
substitutions = { 'VERSION': "{}.{}.{}.{}".format(VER_MAJOR, VER_MINOR, VER_BUILD, VER_TWEAK) }
19841979

19851980
configure_file(os.path.join(self.src_dir, 'META.in'),
19861981
os.path.join(BUILD_DIR, self.sub_dir, 'META'),

src/api/ml/META.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ archive(byte,plugin) = "z3ml.cma"
88
archive(native,plugin) = "z3ml.cmxs"
99
archive(byte,toploop) = "z3ml.cma"
1010
archive(native,toploop) = "z3ml.cmxa"
11-
linkopts = "-cclib -lstdc++ @LEXTRA@"
11+
linkopts = "-cclib -lstdc++"

0 commit comments

Comments
 (0)