1. camlspotter
  2. omy

Commits

camlspotter  committed 8644e02

findlib fix

  • Participants
  • Parent commits c9be606
  • Branches default

Comments (0)

Files changed (2)

File OMyExternal

View file
 #  CR jfuruse: this is pretty buggy
 OCamlExternalPack(PACK) =
      INSTALL=ocamlfind remove $(PACK); $(INSTALL)
-     REQUIRED_PACKS+=$(Installed findlib)
      GET_OBJS(dummy)=
          println(find $(OCAMLFIND_DESTDIR)/$(PACK))
          return $(addprefix \$\(OCAMLFIND_DESTDIR\)/\$\(PACK\)/, $(Files $(OCAMLFIND_DESTDIR)/$(PACK)))

File OMyMakefile

View file
 #
 # .. note:: Usually you do not need to call this function. Use OCAMLPACKS variable instead. 
 OCamlRequirePackages(packages) =
-    packages += findlib # Yes we use findlib
     required_packs = $(OMyManagedPackages $(packages))
     if $(defined INSTALLED)
       %.cmx %.cmo %.cmi %.cma %.cmxa %.annot %.spot %.spit : $(Installed $(required_packs))
 #
 # .. note:: Usually you do not need to call this function. Use CAML4PACKS variable instead. 
 OCamlRequireCamlP4Packages(packages) =
-    packages += findlib # Yes we use findlib
     required_packs = $(OMyManagedPackages $(packages))
     if $(defined INSTALLED)
       .SCANNER: scan-ocaml-%: $(Installed $(required_packs))