Skip to content

Commit

Permalink
Fix SPARK (actually libgpr2-next) build on Mac OS X.
Browse files Browse the repository at this point in the history
Latest version of libgpr2 has `SOURCE_DIR   :=` with
more than one spaces before assignment in `Makefile`, so
our hack stops working.
  • Loading branch information
reznikmm authored and Fabien-Chouteau committed Aug 19, 2024
1 parent 08aa8e6 commit 5a2f22b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specs/libgpr2.anod
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class LibGPR2(spec("common")):
# an absolute path.
print(os.path.join(self["SRC_DIR"], "Makefile"))
text_replace(os.path.join(self["SRC_DIR"], "Makefile"),
[("SOURCE_DIR := .*",
[("SOURCE_DIR *:= .*",
"SOURCE_DIR := " + self["SRC_DIR"])])

self.env.add_search_path("PYTHONPATH", os.path.join(self["SRC_DIR"], "langkit_src"))
Expand Down

0 comments on commit 5a2f22b

Please sign in to comment.