From: Samuel Mimram Date: Sat, 27 May 2006 17:44:41 +0000 (+0000) Subject: Correct path for libraries (-local). X-Git-Tag: archive/raspbian/4.08.1-4+rpi1~3^2~641^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=57a7e12de8a1b872d5b0343046b3a84bdf4b0e18;p=ocaml.git Correct path for libraries (-local). --- diff --git a/chapter-libpack.xml b/chapter-libpack.xml index 606ae4ea..f11f4f39 100644 --- a/chapter-libpack.xml +++ b/chapter-libpack.xml @@ -43,7 +43,7 @@ Paths for libraries - Libraries should be installed in /usr/local/lib/ocaml/&ocaml-version;/ or in a subdirectory of this directory. This includes in particular bytecode libraries (*.cma), native libraries (*.cmxa), bytecode object files (*.cmo), native object files (*.cmx), static libraries (*.a) and META files. The only exception to this rule is for shared libraries (dll*.so) which should be installed in /usr/local/lib/ocaml/&ocaml-version;/stublibs, as can it be seen in the /usr/lib/ocaml/&ocaml-version;/ld.conf file. + Libraries should be installed in /usr/lib/ocaml/&ocaml-version;/ or in a subdirectory of this directory. This includes in particular bytecode libraries (*.cma), native libraries (*.cmxa), bytecode object files (*.cmo), native object files (*.cmx), static libraries (*.a) and META files. The only exception to this rule is for shared libraries (dll*.so) which should be installed in /usr/lib/ocaml/&ocaml-version;/stublibs, as can it be seen in the /usr/lib/ocaml/&ocaml-version;/ld.conf file. @@ -58,7 +58,7 @@
Handling dependencies on OCaml - Some parts of the package need to know the current version of OCaml. For example, libraries should be installed /usr/local/lib/ocaml/&ocaml-version;/. However, the version of OCaml should never be hardcoded in the package (&ocaml-version; here). This would make a binNMU impossible if the version of OCaml has changed. Instead .in files should be used where @OCamlABI@ is replaced at build-time by the current OCaml version. + Some parts of the package need to know the current version of OCaml. For example, libraries should be installed /usr/lib/ocaml/&ocaml-version;/. However, the version of OCaml should never be hardcoded in the package (&ocaml-version; here). This would make a binNMU impossible if the version of OCaml has changed. Instead .in files should be used where @OCamlABI@ is replaced at build-time by the current OCaml version.