From 2eb76774ef0704dce89eb5c244bea3edd4af3bc3 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Wed, 2 Feb 2022 18:17:58 +0000 Subject: [PATCH] build - fix cc.links for bsd case to use args not link args @fix --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 89b6b08cf..925e1f537 100644 --- a/meson.build +++ b/meson.build @@ -105,7 +105,7 @@ suid_ldflags = [] dep_crypt = [] if freebsd == true or host_machine.system().startswith('pcbsd') dep_crypt = cc.find_library('crypt', required: true) - if cc.links('', args: '-fPIE', link_args: '-pie') == true + if cc.links('', args: ['-fPIE', '-pie']) == true suid_cflags = '-fPIE' suid_ldflags = '-pie' endif