From c729e4dceb0d4c0b2c3d774722ae5feaff2b32c1 Mon Sep 17 00:00:00 2001
From: Jeremy Soller <jeremy@system76.com>
Date: Wed, 19 Jun 2019 17:14:30 -0600
Subject: [PATCH] Add sdl2_mixer patch

---
 recipes/sdl2_mixer/redox.patch | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 recipes/sdl2_mixer/redox.patch

diff --git a/recipes/sdl2_mixer/redox.patch b/recipes/sdl2_mixer/redox.patch
new file mode 100644
index 000000000..607c370f8
--- /dev/null
+++ b/recipes/sdl2_mixer/redox.patch
@@ -0,0 +1,16 @@
+diff -ruw source/Makefile.in source-new/Makefile.in
+--- source/Makefile.in	2018-10-31 08:58:59.000000000 -0600
++++ source-new/Makefile.in	2019-06-19 15:23:18.015149749 -0600
+@@ -65,10 +65,10 @@
+ 	$(LIBTOOL) --mode=link $(CC) -o $@ $(OBJECTS) $(VERSION_OBJECTS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS)
+ 
+ $(objects)/playwave$(EXE): $(objects)/playwave.lo $(objects)/$(TARGET)
+-	$(LIBTOOL) --mode=link $(CC) -o $@ $(objects)/playwave.lo $(SDL_CFLAGS) $(objects)/$(TARGET) $(SDL_LIBS) $(LDFLAGS)
++	$(LIBTOOL) --mode=link $(CC) -o $@ $(objects)/playwave.lo $(SDL_CFLAGS) $(objects)/$(TARGET) $(SDL_LIBS) $(LDFLAGS) --static
+ 
+ $(objects)/playmus$(EXE): $(objects)/playmus.lo $(objects)/$(TARGET)
+-	$(LIBTOOL) --mode=link $(CC) -o $@ $(objects)/playmus.lo $(SDL_CFLAGS) $(objects)/$(TARGET) $(SDL_LIBS) $(LDFLAGS)
++	$(LIBTOOL) --mode=link $(CC) -o $@ $(objects)/playmus.lo $(SDL_CFLAGS) $(objects)/$(TARGET) $(SDL_LIBS) $(LDFLAGS) --static
+ 
+ install: all install-hdrs install-lib #install-bin
+ install-hdrs:
-- 
GitLab