aboutsummaryrefslogtreecommitdiff
path: root/downstroke.egg
diff options
context:
space:
mode:
Diffstat (limited to 'downstroke.egg')
-rw-r--r--downstroke.egg5
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))