Skip to content

Commit

Permalink
linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanBieler committed Jul 31, 2018
1 parent 1d7ce5f commit bfe31f4
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions deps/build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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)

Expand Down

0 comments on commit bfe31f4

Please sign in to comment.