From 67ba19406d6587139fc2779f549e9543da68ff11 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Thu, 12 Oct 2023 11:40:43 +0200 Subject: [PATCH] Disable Lua usage of "dlopen()" in MS-Windows CI and wheel builds (because they don't have it). --- .github/workflows/ci.yml | 2 +- .github/workflows/wheels.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7f3915ae..19d3ddb6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -75,7 +75,7 @@ jobs: CFLAGS_LTO: ${{ contains(matrix.lua-version, 'bundle') && (contains(matrix.os, 'windows') && '/LTCG' || '-flto') || '' }} CFLAGS: ${{ contains(matrix.os, 'windows') && '/O2' || '-O2 -fPIC' }} -g MACOSX_DEPLOYMENT_TARGET: "11.0" - LUPA_WITH_LUA_DLOPEN: true + LUPA_WITH_LUA_DLOPEN: ${{ startsWith(matrix.os, 'windows') && 'false' || 'true' }} steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 89e85613..f6cda246 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -160,7 +160,7 @@ jobs: runs-on: ${{ matrix.os }} env: MACOSX_DEPLOYMENT_TARGET: 11.0 - LUPA_WITH_LUA_DLOPEN: true + LUPA_WITH_LUA_DLOPEN: ${{ startsWith(matrix.os, 'windows') && 'false' || 'true' }} steps: - uses: actions/checkout@v3