Revert "libvisual: disable building examples when cross compiling"
This reverts commit11b095e880
. We have a better fix (fa0633e
) in staging-next, which I'm about to merge into.
This commit is contained in:
parent
571a705593
commit
805ba10ecb
|
@ -4,8 +4,6 @@
|
|||
, SDL
|
||||
, glib
|
||||
, pkg-config
|
||||
# sdl-config is not available when crossing
|
||||
, withExamples ? stdenv.buildPlatform == stdenv.hostPlatform
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -18,9 +16,7 @@ stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = lib.optional withExamples SDL ++ [ glib ];
|
||||
|
||||
configureFlags = lib.optional (!withExamples) "--disable-examples";
|
||||
buildInputs = [ SDL glib ];
|
||||
|
||||
meta = {
|
||||
description = "An abstraction library for audio visualisations";
|
||||
|
|
Loading…
Reference in a new issue