From bfe31f47a0995c289c666604d49bc040b7bab89d Mon Sep 17 00:00:00 2001 From: Jonathan Bieler Date: Tue, 31 Jul 2018 17:01:21 +0200 Subject: [PATCH] linux build --- deps/build.jl | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/deps/build.jl b/deps/build.jl index 6b9e560..9137709 100644 --- a/deps/build.jl +++ b/deps/build.jl @@ -3,11 +3,11 @@ using Compat @BinDeps.setup -libSDL2 = library_dependency("libSDL2", aliases = ["sdl2", "libsdl2-2.0", "libsdl2-2.0-0", "libSDL","SDL2"]) +libSDL2 = library_dependency("libSDL2", aliases = ["sdl2", "libsdl2-2.0", "libsdl2-2.0-0", "libSDL","SDL2","libSDL2-2.0.so.0","libSDL2-2.0.so.0.4.0"]) if !is_windows() # HACK: These definitions must come later for windows. - libSDL2_ttf = library_dependency("libSDL2_ttf", aliases = ["SDL_ttf","SDL2_ttf", "libsdl2-ttf-2.0-0"]) - libSDL2_mixer = library_dependency("libSDL2_mixer", aliases = ["SDL_mixer","SDL2_mixer", "libsdl2-mixer-2.0-0"]) + libSDL2_ttf = library_dependency("libSDL2_ttf", aliases = ["SDL_ttf","SDL2_ttf", "libsdl2-ttf-2.0-0","libSDL2_ttf-2.0.so.0"]) + libSDL2_mixer = library_dependency("libSDL2_mixer", aliases = ["SDL_mixer","SDL2_mixer", "libsdl2-mixer-2.0-0","libSDL2_mixer-2.0.so.0"]) end if is_apple() @@ -17,7 +17,10 @@ if is_apple() provides(Homebrew.HB, "SDL2_mixer", libSDL2_mixer, os = :Darwin) end -provides(AptGet, "libsdl2-2.0", libSDL2) +provides(AptGet, "libsdl2-2.0-0", libSDL2) +provides(AptGet, "libsdl2-ttf-2.0-0",libSDL2_ttf) +provides(AptGet, "libsdl2-mixer-2.0-0",libSDL2_mixer) + provides(Yum, "SDL2", libSDL2) provides(Pacman, "sdl2", libSDL2)