forked from mirrors/nixpkgs
jimtcl: fix build
This commit is contained in:
parent
f688ea37d8
commit
9fc8731347
|
@ -14,6 +14,8 @@ stdenv.mkDerivation {
|
|||
sqlite readline asciidoc SDL SDL_gfx
|
||||
];
|
||||
|
||||
NIX_CFLAGS_COMPILE = [ "-I${SDL.dev}/include/SDL" ];
|
||||
|
||||
configureFlags = [
|
||||
"--with-ext=oo"
|
||||
"--with-ext=tree"
|
||||
|
@ -25,12 +27,6 @@ stdenv.mkDerivation {
|
|||
"--ipv6"
|
||||
];
|
||||
|
||||
preConfigurePhase = ''
|
||||
export CFLAGS=$(sdl-config --cflags)
|
||||
export LDFLAGS=$(sdl-config --libs)
|
||||
'';
|
||||
|
||||
|
||||
meta = {
|
||||
description = "An open source small-footprint implementation of the Tcl programming language";
|
||||
homepage = http://jim.tcl.tk/;
|
||||
|
|
Loading…
Reference in a new issue