3
0
Fork 0
forked from mirrors/nixpkgs

libgpg-error: fix build of pkgsStatic.libgpg-error on aarch64-linux

This commit is contained in:
Pavol Rusnak 2022-03-24 19:11:57 +01:00
parent 4c3c80df54
commit a4d3563d93
No known key found for this signature in database
GPG key ID: 91F3B339B9A02A3D

View file

@ -40,6 +40,8 @@ in stdenv.mkDerivation (rec {
'' + lib.optionalString (stdenv.hostPlatform.isAarch32 && stdenv.hostPlatform.isMusl) ''
ln -s lock-obj-pub.arm-unknown-linux-gnueabi.h src/syscfg/lock-obj-pub.arm-unknown-linux-musleabihf.h
ln -s lock-obj-pub.arm-unknown-linux-gnueabi.h src/syscfg/lock-obj-pub.linux-musleabihf.h
'' + lib.optionalString (stdenv.hostPlatform.isAarch64 && stdenv.hostPlatform.isMusl) ''
ln -s lock-obj-pub.aarch64-unknown-linux-gnu.h src/syscfg/lock-obj-pub.linux-musl.h
'';
outputs = [ "out" "dev" "info" ];