From 5e2495f427d417b8aac5b47e296809cb36668761 Mon Sep 17 00:00:00 2001 From: Vhyrro Date: Fri, 19 Apr 2024 19:34:08 +0200 Subject: [PATCH] fix: use std=c++11 for macos users --- .github/workflows/tree-sitter-norg.rockspec.template | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/tree-sitter-norg.rockspec.template b/.github/workflows/tree-sitter-norg.rockspec.template index 53bc20c5..0fad76a6 100644 --- a/.github/workflows/tree-sitter-norg.rockspec.template +++ b/.github/workflows/tree-sitter-norg.rockspec.template @@ -27,5 +27,16 @@ source = { build = { type = "treesitter-parser", lang = "norg", + platforms = { + macosx = { + libflags = { + "-bundle", + "-undefined", + "dynamic_lookup", + "-all_load", + "-std=c++11", + }, + }, + }, sources = { "src/parser.c", "src/scanner.cc" }, }