diff options
author | Daniel Mensinger <daniel@mensinger-ka.de> | 2021-08-22 17:56:56 +0200 |
---|---|---|
committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2021-10-03 12:19:45 +0200 |
commit | 2327cb5eb3ebbbca78701cf4a27ead376d245ffe (patch) | |
tree | 7c843f091e06d168ffa073f0db41d70daef68c9d /docs/markdown/Vala.md | |
parent | 5dd8171fb3d226eaef52faa821286cf79d0f8a2a (diff) | |
download | meson-2327cb5eb3ebbbca78701cf4a27ead376d245ffe.zip meson-2327cb5eb3ebbbca78701cf4a27ead376d245ffe.tar.gz meson-2327cb5eb3ebbbca78701cf4a27ead376d245ffe.tar.bz2 |
docs: Fix broken links
Diffstat (limited to 'docs/markdown/Vala.md')
-rw-r--r-- | docs/markdown/Vala.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/markdown/Vala.md b/docs/markdown/Vala.md index 606cf0d..919e305 100644 --- a/docs/markdown/Vala.md +++ b/docs/markdown/Vala.md @@ -30,7 +30,7 @@ runtime type system. ## Using libraries -Meson uses the [`dependency()`](Reference-manual.md#dependency) +Meson uses the [[dependency]] function to find the relevant VAPI, C headers and linker flags when it encounters a Vala source file in a build target. Vala needs a VAPI file and a C header or headers to use a library. The VAPI file helps @@ -39,7 +39,7 @@ map Vala code to the library's C programming interface. It is the 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()` -method of the [compiler object](Reference-manual.md#compiler-object) +method of the [[@compiler]] object needs to be used. Examples are given later. Note Vala uses libraries that follow the C Application Binary Interface (C ABI). @@ -86,7 +86,7 @@ standard search path and so works just as seamlessly using the ### Targeting a version of GLib -Meson's [`dependency()`](Reference-manual.md#dependency) function +Meson's [[dependency]] function allows a version check of a library. This is often used to check a minimum version is installed. When setting a minimum version of GLib, Meson will also pass this to the Vala compiler using the @@ -287,7 +287,7 @@ add_project_arguments('-DFUSE_USE_VERSION=26', language: 'c') ### Changing C header and VAPI names -Meson's [`library`](Reference-manual.md#library) target automatically +Meson's [[library]] target automatically outputs the C header and the VAPI. They can be renamed by setting the `vala_header` and `vala_vapi` arguments respectively: |