docs: Remove the deleted function find_library

pull/9134/head
Daniel Mensinger 3 years ago committed by Jussi Pakkanen
parent d6243e3ebd
commit a216de4898
  1. 8
      docs/markdown/Reference-manual.md
  2. 2
      docs/markdown/Vala.md
  3. 2
      docs/markdown/howtox.md

@ -780,12 +780,6 @@ creating the final list.
The returned object also has methods that are documented in the
[object methods section](#build-target-object) below.
### find_library()
*(since 0.31.0)* **(deprecated)** Use `find_library()` method of
[the compiler object](#compiler-object) as obtained from
`meson.get_compiler(lang)`.
### find_program()
``` meson
@ -2865,7 +2859,7 @@ env.prepend('MY_PATH', '0')
### `external library` object
This object is returned by [`find_library()`](#find_library) and
This object is returned by [`find_library()`](#compiler-object) and
contains an external (i.e. not built as part of this project)
library. This object has the following methods:

@ -38,7 +38,7 @@ map Vala code to the library's C programming interface. It is the
[`pkg-config`](https://www.freedesktop.org/wiki/Software/pkg-config/)
tool that makes finding these installed files all work seamlessly
behind the scenes. When a `pkg-config` file doesn't exist for the
library then the [`find_library()`](Reference-manual.md#find_library)
library then the `find_library()`
method of the [compiler object](Reference-manual.md#compiler-object)
needs to be used. Examples are given later.

@ -85,7 +85,7 @@ executable(..., override_options : ['c_std=c11'])
## Enable threads
Lots of people seem to do this manually with `find_library('pthread')`
Lots of people seem to do this manually with `cc.find_library('pthread')`
or something similar. Do not do that. It is not portable. Instead do
this.

Loading…
Cancel
Save