Skip to content

Commit a70d6a2

Browse files
committed
Build with LUA_WITH_DLOPEN also in cibuildwheel
1 parent c8dd81c commit a70d6a2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@ LD = "gcc-ld"
1919
AR = "gcc-ar"
2020
NM = "gcc-nm"
2121
RANLIB = "gcc-ranlib"
22+
LUPA_WITH_LUA_DLOPEN = "true"
2223

2324
[[tool.cibuildwheel.overrides]]
2425
select = "*aarch64"
25-
environment = {CFLAGS = "-O3 -g1 -pipe -fPIC -flto -march=armv8-a -mtune=cortex-a72", AR = "gcc-ar", NM = "gcc-nm", RANLIB = "gcc-ranlib", LDFLAGS = "-fPIC -flto", LUPA_USE_BUNDLE = "true" }
26+
environment = {CFLAGS = "-O3 -g1 -pipe -fPIC -flto -march=armv8-a -mtune=cortex-a72", AR = "gcc-ar", NM = "gcc-nm", RANLIB = "gcc-ranlib", LDFLAGS = "-fPIC -flto", LUPA_USE_BUNDLE = "true", LUPA_WITH_LUA_DLOPEN = "true"}
2627

2728
[tool.cibuildwheel.windows]
2829
archs = ["AMD64", "x86"]
@@ -34,3 +35,6 @@ test-command = "python -c \"import lupa\" && python -c \"import lupa.lua54\" &&
3435
# so additional arm64 wheels would suffice. However, since the library build uses a mixed
3536
# amd64/arm64 setup, we build universal2 wheels regardless.
3637
archs = ["x86_64", "arm64", "universal2"]
38+
39+
[tool.cibuildwheel.macos.environment]
40+
LUPA_WITH_LUA_DLOPEN = "true"

0 commit comments

Comments
 (0)