cups: fix cross

This commit is contained in:
Robin Gloster 2018-11-29 04:58:17 +01:00
parent 9111012f7f
commit adaffa3c01
No known key found for this signature in database
GPG Key ID: D5C458DF6DD97EDF

View File

@ -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.