Skip to content

Commit

Permalink
Install graph.cmxs using ocamlfind
Browse files Browse the repository at this point in the history
  • Loading branch information
kit-ty-kate committed Oct 9, 2017
1 parent ba0c857 commit 82d9582
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 82d9582

Please sign in to comment.