diff options
| author | Gene Pasquet <dev@etenil.net> | 2026-04-19 23:03:11 +0100 |
|---|---|---|
| committer | Gene Pasquet <dev@etenil.net> | 2026-04-19 23:03:11 +0100 |
| commit | ced28f55d51284e2b17ce102001604e331b48192 (patch) | |
| tree | 2a051aad00daa98d9126057fa9fc87a23ec52ef3 /downstroke.egg | |
| parent | 9796387449b9e2cfa36088bb25e3d71647107792 (diff) | |
Force mixer linking
Diffstat (limited to 'downstroke.egg')
| -rw-r--r-- | downstroke.egg | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/downstroke.egg b/downstroke.egg index e732de8..cfbbc76 100644 --- a/downstroke.egg +++ b/downstroke.egg @@ -33,8 +33,11 @@ (extension downstroke.engine (source "engine.scm") (component-dependencies downstroke.renderer downstroke.world downstroke.input downstroke.assets downstroke.animation)) + ;; Link SDL2_mixer explicitly so downstroke.mixer.so lists libSDL2_mixer in + ;; DT_NEEDED; otherwise Mix_* symbols can be undefined at dlopen time. (extension downstroke.mixer - (source "mixer.scm")) + (source "mixer.scm") + (csc-options "-lSDL2_mixer")) (extension downstroke.sound (source "sound.scm") (component-dependencies downstroke.mixer)) |
