s/lirbaries/libraries/ [ci skip]

parent b308a709
......@@ -196,7 +196,7 @@ mkLibName lib = mkGenericStaticLibName (getHSLibraryName lib)
mkProfLibName :: UnitId -> String
mkProfLibName lib = mkGenericStaticLibName (getHSLibraryName lib ++ "_p")
-- | Create a library name for a shared lirbary from a given name.
-- | Create a library name for a shared library from a given name.
-- Prepends 'lib' and appends the '-<compilerFlavour><compilerVersion>'
-- as well as the shared library extension.
mkGenericSharedLibName :: Platform -> CompilerId -> String -> String
......
......@@ -136,7 +136,7 @@ mkDoctestArgs verbosity tmp lbi clbi inFiles bi = do
then return vanillaOpts
else if withSharedLib lbi
then return sharedOpts
else die' verbosity $ "Must have vanilla or shared lirbaries "
else die' verbosity $ "Must have vanilla or shared libraries "
++ "enabled in order to run doctest"
ghcVersion <- maybe (die' verbosity "Compiler has no GHC version")
return
......
......@@ -77,14 +77,14 @@ data BuildInfo = BuildInfo {
extraLibs :: [String], -- ^ what libraries to link with when compiling a program that uses your package
extraGHCiLibs :: [String], -- ^ if present, overrides extraLibs when package is loaded with GHCi.
extraBundledLibs :: [String], -- ^ if present, adds libs to hs-lirbaries, which become part of the package.
extraBundledLibs :: [String], -- ^ if present, adds libs to hs-libraries, which become part of the package.
-- Example: the Cffi library shipping with the rts, alognside the HSrts-1.0.a,.o,...
-- Example 2: a library that is being built by a foreing tool (e.g. rust)
-- and copied and registered together with this library. The
-- logic on how this library is built will have to be encoded in a
-- custom Setup for now. Oherwise cabal would need to lear how to
-- call arbitary lirbary builders.
extraLibFlavours :: [String], -- ^ Hidden Flag. This set of strings, will be appended to all lirbaries when
-- call arbitary library builders.
extraLibFlavours :: [String], -- ^ Hidden Flag. This set of strings, will be appended to all libraries when
-- copying. E.g. [libHS<name>_<flavour> | flavour <- extraLibFlavours]. This
-- should only be needed in very specific cases, e.g. the `rts` package, where
-- there are multiple copies of slightly differently built libs.
......
......@@ -2435,7 +2435,7 @@ system-dependent values for these fields.
A list of libraries that are supposed to be copied from the build
directory alongside the produced Haskell libraries. Note that you
are under the obligation to produce those lirbaries in the build
are under the obligation to produce those libraries in the build
directory (e.g. via a custom setup). Libraries listed here will
be included when ``copy``-ing packages and be listed in the
``hs-libraries`` of the package configuration.
......
......@@ -975,7 +975,7 @@ buildAndInstallUnpackedPackage verbosity
(renderPackageHashInputs (packageHashInputs pkgshared pkg))
-- Ensure that there are no files in `tmpDir`, that are not in `entryDir`
-- While this breaks the prefix-relocatable property of the lirbaries
-- While this breaks the prefix-relocatable property of the libraries
-- it is necessary on macOS to stay under the load command limit of the
-- macOS mach-o linker. See also @PackageHash.hashedInstalledPackageIdVeryShort@.
-- We also normalise paths to ensure that there are no different representations
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment