diff options
| -rw-r--r-- | downstroke.egg | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/downstroke.egg b/downstroke.egg index cfbbc76..1a3a1d8 100644 --- a/downstroke.egg +++ b/downstroke.egg @@ -35,9 +35,10 @@ (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. + ;; csc requires "-L" before "-l..." so the flag is passed through to the linker. (extension downstroke.mixer (source "mixer.scm") - (csc-options "-lSDL2_mixer")) + (csc-options "-L" "-lSDL2_mixer")) (extension downstroke.sound (source "sound.scm") (component-dependencies downstroke.mixer)) |
