musl: pass the correct syslibdir
This fixes dynamic linking (the specfile contains the correct path, and
the dynamic loader is symlinked in place)
Fixes #8543
commitbf18a34f9738b61e380f4071e41f59825b8f7028
authorNathan Zadoks <nathan@nathan7.eu>
dateThu 3 Mar 2016, 14:45 (11 years ago)
parent397a0db
pkgs/os-specific/linux/musl/default.nix+4
@@ -11,6 +11,10 @@ stdenv.mkDerivation rec {
1111
1212 enableParallelBuilding = true;
1313
14+ preConfigure = ''
15+ configureFlagsArray+=("--syslibdir=$out/lib")
16+ '';
17+
1418 configureFlags = [
1519 "--enable-shared"
1620 "--enable-static"