From 5ac46651883adc05ffde2c805e26ff781c56175b Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Tue, 11 Dec 2018 20:03:33 -0700 Subject: [PATCH] Fix linking of glutin --- recipes/glutin/recipe.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }