Merge pull request #18177 from womfoo/fix/jimtcl-build

jimtcl: fix build
This commit is contained in:
Domen Kožar 2016-09-01 10:55:13 +02:00 committed by GitHub
commit e4d784ace5

View File

@ -14,6 +14,8 @@ stdenv.mkDerivation {
sqlite readline asciidoc SDL SDL_gfx sqlite readline asciidoc SDL SDL_gfx
]; ];
NIX_CFLAGS_COMPILE = [ "-I${SDL.dev}/include/SDL" ];
configureFlags = [ configureFlags = [
"--with-ext=oo" "--with-ext=oo"
"--with-ext=tree" "--with-ext=tree"
@ -25,12 +27,6 @@ stdenv.mkDerivation {
"--ipv6" "--ipv6"
]; ];
preConfigurePhase = ''
export CFLAGS=$(sdl-config --cflags)
export LDFLAGS=$(sdl-config --libs)
'';
meta = { meta = {
description = "An open source small-footprint implementation of the Tcl programming language"; description = "An open source small-footprint implementation of the Tcl programming language";
homepage = http://jim.tcl.tk/; homepage = http://jim.tcl.tk/;