mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
Merge pull request #172280 from Mindavi/fltk/cross
fltk: support cross-compilation
This commit is contained in:
commit
6e45ca94ce
@ -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…
Reference in New Issue
Block a user