diff --git a/META.in b/META.in index 0695b62e..b0b5f52f 100644 --- a/META.in +++ b/META.in @@ -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" diff --git a/Makefile.in b/Makefile.in index 8beb4957..2683962c 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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) \ @@ -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