Merge pull request #172280 from Mindavi/fltk/cross

fltk: support cross-compilation
main
Rick van Schijndel 2 years ago committed by GitHub
commit 6e45ca94ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      pkgs/development/libraries/fltk/common.nix

@ -37,7 +37,7 @@
, doxygen
, graphviz
, withExamples ? true
, withExamples ? (stdenv.buildPlatform == stdenv.hostPlatform)
, withShared ? true
}:
@ -139,6 +139,7 @@ stdenv.mkDerivation rec {
# Examples & Tests
"-DFLTK_BUILD_EXAMPLES=${onOff withExamples}"
"-DFLTK_BUILD_TEST=${onOff withExamples}"
# Docs
"-DOPTION_BUILD_HTML_DOCUMENTATION=${onOff withDocs}"

Loading…
Cancel
Save