lol

bearssl: fix cross

+8 -2
+8 -2
pkgs/development/libraries/bearssl/default.nix
··· 13 13 14 14 enableParallelBuilding = true; 15 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 + 16 23 installPhase = '' 17 24 runHook preInstall 18 25 install -D build/brssl $bin/brssl 19 26 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 27 + install -Dm644 -t $lib/lib build/libbearssl.* 22 28 install -Dm644 -t $dev/include inc/*.h 23 29 touch $out 24 30 runHook postInstall