~lattis/muon

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH] include_directories: accept multiple args

Details
Message ID
<20210912234716.1339394-1-eschwartz@archlinux.org>
DKIM signature
pass
Download raw message
Patch: +1 -1
e.g. include_directories('incdir', 'incdir2') is valid and should
produce two -I paths.
---
 src/functions/default.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/functions/default.c b/src/functions/default.c
index 562de2e..015caf3 100644
--- a/src/functions/default.c
+++ b/src/functions/default.c
@@ -308,7 +308,7 @@ func_find_program(struct workspace *wk, uint32_t _, uint32_t args_node, uint32_t
static bool
func_include_directories(struct workspace *wk, uint32_t _, uint32_t args_node, uint32_t *obj)
{
	struct args_norm an[] = { { obj_any }, ARG_TYPE_NULL };
	struct args_norm an[] = { { ARG_TYPE_GLOB }, ARG_TYPE_NULL };

	if (!interp_args(wk, args_node, an, NULL, NULL)) {
		return false;
-- 
2.33.0
Details
Message ID
<20210913015414.3mocviuqkisulilh@hostomei>
In-Reply-To
<20210912234716.1339394-1-eschwartz@archlinux.org> (view parent)
DKIM signature
pass
Download raw message
Looks good to me!
Reply to thread Export thread (mbox)