* makeStaticBinaries: handle the case where configureFlags is

an array.

svn path=/nixpkgs/trunk/; revision=25641
This commit is contained in:
Eelco Dolstra 2011-01-20 09:40:17 +00:00
parent f0345dd48c
commit 569d38ad69

View File

@ -101,7 +101,7 @@ rec {
NIX_CFLAGS_LINK = "-static"; NIX_CFLAGS_LINK = "-static";
configureFlags = configureFlags =
(if args ? configureFlags then args.configureFlags else "") (if args ? configureFlags then toString args.configureFlags else "")
+ " --disable-shared"; # brrr... + " --disable-shared"; # brrr...
}); });
isStatic = true; isStatic = true;