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

View File

@ -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"

View File

@ -3,6 +3,7 @@
, client ? false # build Quassel client
, previews ? false # enable webpage previews on hovering over URLs
, tag ? "" # tag added to the package name
, static ? false # link statically
, stdenv, fetchurl, cmake, makeWrapper, dconf
, qtbase, qtscript, qtwebkit
@ -66,9 +67,9 @@ in with stdenv; mkDerivation rec {
cmakeFlags = [
"-DEMBED_DATA=OFF"
"-DSTATIC=OFF"
"-DUSE_QT5=ON"
]
++ edf static "STATIC"
++ edf monolithic "WANT_MONO"
++ edf daemon "WANT_CORE"
++ edf client "WANT_QTCLIENT"