mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 02:44:30 +00:00
Merge pull request #224926 from amjoseph-nixpkgs/pr/libiio/cross
This commit is contained in:
commit
ef588c9324
@ -37,19 +37,19 @@ stdenv.mkDerivation rec {
|
||||
flex
|
||||
bison
|
||||
pkg-config
|
||||
];
|
||||
python
|
||||
] ++ lib.optional python.isPy3k python.pkgs.setuptools;
|
||||
|
||||
buildInputs = [
|
||||
python
|
||||
libxml2
|
||||
libusb1
|
||||
] ++ lib.optional python.isPy3k python.pkgs.setuptools
|
||||
++ lib.optional avahiSupport avahi
|
||||
] ++ lib.optional avahiSupport avahi
|
||||
++ lib.optional stdenv.isLinux libaio
|
||||
++ lib.optionals stdenv.isDarwin [ CFNetwork CoreServices ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DUDEV_RULES_INSTALL_DIR=${placeholder "out"}/lib/udev/rules.d"
|
||||
"-DPython_EXECUTABLE=${python.pythonForBuild.interpreter}"
|
||||
"-DPYTHON_BINDINGS=on"
|
||||
# osx framework is disabled,
|
||||
# the linux-like directory structure is used for proper output splitting
|
||||
|
Loading…
Reference in New Issue
Block a user