aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/scripts/gtkdochelper.py
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2017-10-27 10:09:30 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2017-11-07 23:56:18 +0200
commit7121eb8c51cc42d44879f31321511469be9caa8e (patch)
tree1a2bfed04028a9d799b154639375bf9052cacea6 /mesonbuild/scripts/gtkdochelper.py
parent68604a4855cfe1fdb5c652e2b0296a686ccc17b6 (diff)
downloadmeson-7121eb8c51cc42d44879f31321511469be9caa8e.zip
meson-7121eb8c51cc42d44879f31321511469be9caa8e.tar.gz
meson-7121eb8c51cc42d44879f31321511469be9caa8e.tar.bz2
gtkdoc: Pass the linker down to gtkdoc-scangobj
Closes #2540
Diffstat (limited to 'mesonbuild/scripts/gtkdochelper.py')
-rw-r--r--mesonbuild/scripts/gtkdochelper.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mesonbuild/scripts/gtkdochelper.py b/mesonbuild/scripts/gtkdochelper.py
index 45ed96b..4406b28 100644
--- a/mesonbuild/scripts/gtkdochelper.py
+++ b/mesonbuild/scripts/gtkdochelper.py
@@ -112,7 +112,8 @@ def build_gtkdoc(source_root, build_root, doc_subdir, src_subdirs,
scanobjs_cmd = ['gtkdoc-scangobj'] + scanobjs_args + ['--types=' + gobject_typesfile,
'--module=' + module,
'--cflags=' + cflags,
- '--ldflags=' + ldflags]
+ '--ldflags=' + ldflags,
+ '--ld=' + ld]
gtkdoc_run_check(scanobjs_cmd, abs_out)