quasselDaemon: option for static linking

This commit is contained in:
Profpatsch
2016-03-10 15:17:07 +01:00
parent efb76ae10b
commit 8871c6fabc
2 changed files with 5 additions and 3 deletions
@@ -5,6 +5,7 @@
, tag ? "" # tag added to the package name
, withKDE ? stdenv.isLinux # enable KDE integration
, kdelibs ? null
, static ? false # link statically
, stdenv, fetchurl, cmake, makeWrapper, qt, automoc4, phonon, dconf, qca2 }:
@@ -42,8 +43,8 @@ in with stdenv; mkDerivation rec {
NIX_CFLAGS_COMPILE = "-fPIC";
cmakeFlags = [
"-DEMBED_DATA=OFF"
"-DSTATIC=OFF" ]
"-DEMBED_DATA=OFF" ]
++ edf static "STATIC"
++ edf monolithic "WANT_MONO"
++ edf daemon "WANT_CORE"
++ edf client "WANT_QTCLIENT"