diff options
author | Alexis Jeandet <alexis.jeandet@member.fsf.org> | 2017-12-19 23:21:54 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-12-20 20:35:51 +0200 |
commit | 0560478f756fa7c4a225fa6617e6c524a587a381 (patch) | |
tree | 6a43ceada3d30835bc7ff9493daa18e1a319fb70 | |
parent | dc39c4684121a01652518e7d348eb5ae228edc21 (diff) | |
download | meson-0560478f756fa7c4a225fa6617e6c524a587a381.zip meson-0560478f756fa7c4a225fa6617e6c524a587a381.tar.gz meson-0560478f756fa7c4a225fa6617e6c524a587a381.tar.bz2 |
[Dependencies] Add --ldflags to cups-config invocation
--libs only gives libs to link with, not flags and eventually lib path
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
-rw-r--r-- | mesonbuild/dependencies/misc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/dependencies/misc.py b/mesonbuild/dependencies/misc.py index ce9313e..6ffa42a 100644 --- a/mesonbuild/dependencies/misc.py +++ b/mesonbuild/dependencies/misc.py @@ -804,7 +804,7 @@ class CupsDependency(ExternalDependency): self.type_name = 'config-tool' self.version = ctdep.version self.compile_args = ctdep.get_config_value(['--cflags'], 'compile_args') - self.link_args = ctdep.get_config_value(['--libs'], 'link_args') + self.link_args = ctdep.get_config_value(['--ldflags', '--libs'], 'link_args') self.is_found = True return except Exception as e: |