Skip to content

Commit

Permalink
disable libsdl2 preloading to fix issues with certain games
Browse files Browse the repository at this point in the history
  • Loading branch information
anyc committed Dec 7, 2014
1 parent e82754d commit 296c856
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -61,7 +61,7 @@ src_prepare() {
# use system libraries if user has not set the variable otherwise
sed -i -r "s/(export TEXTDOMAIN=steam)/\1\nif \[ -z \"\$STEAM_RUNTIME\" \]; then export STEAM_RUNTIME=0; fi/" steam || die
# use violent force to load the system's SDL library
sed -i '/export STEAM_RUNTIME=0; fi/a if \[ \"$STEAM_RUNTIME\" == "0" \]; then export LD_PRELOAD="/usr/lib32/libSDL2-2.0.so.0"; fi' steam || die
#sed -i '/export STEAM_RUNTIME=0; fi/a if \[ \"$STEAM_RUNTIME\" == "0" \]; then export LD_PRELOAD="/usr/lib32/libSDL2-2.0.so.0"; fi' steam || die
fi

# we use our ebuild functions to install the files
Expand Down

0 comments on commit 296c856

Please sign in to comment.