mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 10:53:52 +00:00
tree-wide: SDL may not have a .dev
This commit is contained in:
parent
f011faaede
commit
47240a3e31
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
prePatch = ''
|
||||
sed -i Makefile -e 's,LIBTCODDIR=.*,LIBTCODDIR=${libtcod},g' \
|
||||
-e 's,sdl-config,${SDL.dev}/bin/sdl-config,g'
|
||||
-e 's,sdl-config,${lib.getDev SDL}/bin/sdl-config,g'
|
||||
sed -i src/platform/tcod-platform.c -e "s,fonts/font,$out/share/brogue/fonts/font,g"
|
||||
make clean
|
||||
rm -rf src/libtcod*
|
||||
|
Loading…
Reference in New Issue
Block a user