diff --git a/recipes/glutin/recipe.sh b/recipes/glutin/recipe.sh index 80a4712e6..9e2a08af8 100644 --- a/recipes/glutin/recipe.sh +++ b/recipes/glutin/recipe.sh @@ -12,7 +12,7 @@ function recipe_build { -L "${sysroot}/lib" \ -l OSMesa \ -l glapi \ - -l pthread \ - -l stdc++ + -l stdc++ \ + -C link-args="-Wl,--whole-archive -lpthread -Wl,--no-whole-archive" skip=1 }