From 4b49a45dbf464631af60091cd3a7298470063212 Mon Sep 17 00:00:00 2001 From: Vhyrro Date: Mon, 15 Apr 2024 16:21:18 +0200 Subject: [PATCH] fix(ci): set default flags for MacOS too --- .github/workflows/build-macosx-aarch64.yml | 2 +- .github/workflows/build-macosx-x86_64.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-macosx-aarch64.yml b/.github/workflows/build-macosx-aarch64.yml index 7203f0398..25d764fc0 100644 --- a/.github/workflows/build-macosx-aarch64.yml +++ b/.github/workflows/build-macosx-aarch64.yml @@ -63,7 +63,7 @@ jobs: luarocks --verbose pack tree-sitter-orgmode - name: "[HACK]: Set default compiler flags for MacOS systems" run: | - luarocks config --scope=system -- variables.LIBFLAG "-std=c++11" + luarocks config --scope=system -- variables.LIBFLAG "-bundle -undefined dynamic_lookup -all_load -std=c++11" - name: Install `tree-sitter-norg` Package run: | luarocks --verbose --local --lua-version=5.1 install tree-sitter-norg diff --git a/.github/workflows/build-macosx-x86_64.yml b/.github/workflows/build-macosx-x86_64.yml index 9d08da439..08e934cc0 100644 --- a/.github/workflows/build-macosx-x86_64.yml +++ b/.github/workflows/build-macosx-x86_64.yml @@ -63,7 +63,7 @@ jobs: luarocks --verbose pack tree-sitter-orgmode - name: "[HACK]: Set default compiler flags for MacOS systems" run: | - luarocks config --scope=system -- variables.LIBFLAG "-std=c++11" + luarocks config --scope=system -- variables.LIBFLAG "-bundle -undefined dynamic_lookup -all_load -std=c++11" - name: Install `tree-sitter-norg` Package run: | luarocks --verbose --local --lua-version=5.1 install tree-sitter-norg