lol

bearssl: fix cross

+8 -2
+8 -2
pkgs/development/libraries/bearssl/default.nix
··· 13 14 enableParallelBuilding = true; 15 16 installPhase = '' 17 runHook preInstall 18 install -D build/brssl $bin/brssl 19 install -D build/testcrypto $bin/testcrypto 20 - install -Dm644 build/libbearssl.so $lib/lib/libbearssl.so 21 - install -Dm644 build/libbearssl.a $lib/lib/libbearssl.a 22 install -Dm644 -t $dev/include inc/*.h 23 touch $out 24 runHook postInstall
··· 13 14 enableParallelBuilding = true; 15 16 + makeFlags = [ 17 + "AR=${stdenv.cc.targetPrefix}ar" 18 + "CC=${stdenv.cc.targetPrefix}cc" 19 + "LD=${stdenv.cc.targetPrefix}cc" 20 + "LDDLL=${stdenv.cc.targetPrefix}cc" 21 + ] ++ lib.optional stdenv.hostPlatform.isStatic "DLL=no"; 22 + 23 installPhase = '' 24 runHook preInstall 25 install -D build/brssl $bin/brssl 26 install -D build/testcrypto $bin/testcrypto 27 + install -Dm644 -t $lib/lib build/libbearssl.* 28 install -Dm644 -t $dev/include inc/*.h 29 touch $out 30 runHook postInstall