Skip to content

Commit

Permalink
Merge pull request #67 from jpdeplaix/cmxs
Browse files Browse the repository at this point in the history
Install graph.cmxs using ocamlfind
  • Loading branch information
backtracking authored Oct 17, 2017
2 parents ba0c857 + 82d9582 commit 29d4b76
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions META.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ version = "VERSION"
description = "Generic Graph Library"
requires=""
archive(byte) = "CMA"
archive(byte,plugin) = "CMA"
archive(native) = "CMXA"
archive(native,plugin) = "CMXS"

package "dgraph" (
exists_if = "dgraph.cmi"
Expand Down
4 changes: 2 additions & 2 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ endif
ifeq ($(OCAMLBEST),byte)
OCAMLFIND_OPT_FILES=
else
OCAMLFIND_OPT_FILES=graph$(OBJEXT) graph$(LIBEXT) graph.cmx $(CMXA)
OCAMLFIND_OPT_FILES=graph$(OBJEXT) graph$(LIBEXT) graph.cmx $(CMXA) $(CMXS)
ifeq (@LABLGNOMECANVAS@,yes)
OCAMLFIND_OPT_FILES+=\
$(VIEWER_CMXLIB) $(VIEWER_CMXLIB:.cmx=.o) \
Expand All @@ -460,7 +460,7 @@ endif
endif

META: META.in Makefile
sed -e s/VERSION/$(VERSION)/ -e s/CMA/$(CMA)/ -e s/CMXA/$(CMXA)/ \
sed -e s/VERSION/$(VERSION)/ -e s/CMA/$(CMA)/ -e s/CMXA/$(CMXA)/ -e s/CMXS/$(CMXS)/ \
$@.in > $@

# documentation
Expand Down

0 comments on commit 29d4b76

Please sign in to comment.