freeciv: build with shared (not static) libraries

This commit is contained in:
Nikolay Amiantov 2016-12-29 00:33:13 +03:00
parent 5d5e0c19f6
commit d479639187

View File

@ -16,6 +16,7 @@ let
in
stdenv.mkDerivation {
name = "${name}${sdlName}${gtkName}-${version}";
inherit version;
src = fetchurl {
url = "mirror://sourceforge/freeciv/${name}-${version}.tar.bz2";
@ -30,7 +31,7 @@ stdenv.mkDerivation {
++ optional server readline
++ optional enableSqlite sqlite;
configureFlags = []
configureFlags = [ "--enable-shared" ]
++ optional sdlClient "--enable-client=sdl"
++ optional enableSqlite "--enable-fcdb=sqlite3"
++ optional (!gtkClient) "--enable-fcmp=cli"