Skip to content

Commit 2b39222

Browse files
committed
Add missing Alpine support.
1 parent cd94b89 commit 2b39222

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,14 @@ list(APPEND JUCE_COMPILE_DEFINITIONS
186186
JUCE_MODAL_LOOPS_PERMITTED=1
187187
)
188188

189+
if(DEFINED ENV{CIBW_BUILD} AND "$ENV{CIBW_BUILD}" MATCHES "musllinux")
190+
# For Alpine/musllinux compatibility:
191+
add_compile_definitions(
192+
_NL_IDENTIFICATION_LANGUAGE=0x42
193+
_NL_IDENTIFICATION_TERRITORY=0x43
194+
)
195+
endif()
196+
189197
# Rubber Band library flags
190198
list(APPEND RUBBERBAND_COMPILE_DEFINITIONS
191199
USE_BQRESAMPLER=1

0 commit comments

Comments
 (0)