forked from mirrors/nixpkgs
Merge pull request #18177 from womfoo/fix/jimtcl-build
jimtcl: fix build
This commit is contained in:
commit
e4d784ace5
|
@ -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