From 0384487fc52c445d005ca1ea5b2a1c83ce56200c Mon Sep 17 00:00:00 2001 From: Phillip Cao Date: Fri, 16 Aug 2019 14:58:21 +1200 Subject: [PATCH] Fix CCRX linking external dependencies --- mesonbuild/compilers/mixins/ccrx.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mesonbuild/compilers/mixins/ccrx.py b/mesonbuild/compilers/mixins/ccrx.py index 0e435e3a5..48b5ed17f 100644 --- a/mesonbuild/compilers/mixins/ccrx.py +++ b/mesonbuild/compilers/mixins/ccrx.py @@ -148,6 +148,8 @@ class CcrxCompiler: continue elif i.startswith('-L'): continue + elif not i.startswith('-lib=') and i.endswith(('.a', '.lib')): + i = '-lib=' + i result.append(i) return result