diff --git a/recipes/wip/libs/other/libtheora/recipe.toml b/recipes/wip/libs/other/libtheora/recipe.toml
index 78e901d901728cfde461039dd6817725d810872c..b03418d873a6e50cff0637cd6a492a1225d1431f 100644
--- a/recipes/wip/libs/other/libtheora/recipe.toml
+++ b/recipes/wip/libs/other/libtheora/recipe.toml
@@ -1,6 +1,10 @@
 #TODO the redox target is not supported on the configure script
 [source]
 tar = "http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.bz2"
+script = """
+wget -O config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false"
+"""
+
 [build]
 template = "configure"
 dependencies = [