mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
cups: fix cross
This commit is contained in:
parent
9111012f7f
commit
adaffa3c01
@ -60,7 +60,9 @@ stdenv.mkDerivation rec {
|
||||
++ optional (libpaper != null) "--enable-libpaper"
|
||||
++ optional stdenv.isDarwin "--disable-launchd";
|
||||
|
||||
# AR has to be an absolute path
|
||||
preConfigure = ''
|
||||
export AR="${getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}ar"
|
||||
configureFlagsArray+=(
|
||||
# Put just lib/* and locale into $lib; this didn't work directly.
|
||||
# lib/cups is moved back to $out in postInstall.
|
||||
|
Loading…
Reference in New Issue
Block a user