freeciv: build with shared (not static) libraries
This commit is contained in:
parent
5d5e0c19f6
commit
d479639187
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user