aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2021-08-18 19:42:28 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2021-08-18 21:56:45 +0300
commita216de4898cc7b9aafaecf6ebbe19d79d1c5aea3 (patch)
tree8b8c0fdcbb6a49fd7992421d2da6722efb654a1b
parentd6243e3ebd43a44aebf4e403cb19b3d881aedee5 (diff)
downloadmeson-a216de4898cc7b9aafaecf6ebbe19d79d1c5aea3.zip
meson-a216de4898cc7b9aafaecf6ebbe19d79d1c5aea3.tar.gz
meson-a216de4898cc7b9aafaecf6ebbe19d79d1c5aea3.tar.bz2
docs: Remove the deleted function find_library
-rw-r--r--docs/markdown/Reference-manual.md8
-rw-r--r--docs/markdown/Vala.md2
-rw-r--r--docs/markdown/howtox.md2
3 files changed, 3 insertions, 9 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md
index fd78a1e..fd156f9 100644
--- a/docs/markdown/Reference-manual.md
+++ b/docs/markdown/Reference-manual.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:
diff --git a/docs/markdown/Vala.md b/docs/markdown/Vala.md
index d3edce0..606cf0d 100644
--- a/docs/markdown/Vala.md
+++ b/docs/markdown/Vala.md
@@ -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.
diff --git a/docs/markdown/howtox.md b/docs/markdown/howtox.md
index 1521f72..5c64bcb 100644
--- a/docs/markdown/howtox.md
+++ b/docs/markdown/howtox.md
@@ -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.