systemd: fix cross-compilation
Instead of patching the ld path, it's now specified as meson option
This commit is contained in:
parent
261c4ff0af
commit
eabd03a551
1 changed files with 1 additions and 3 deletions
|
@ -183,9 +183,6 @@ stdenv.mkDerivation {
|
|||
postPatch = ''
|
||||
substituteInPlace src/basic/path-util.h --replace "@defaultPathNormal@" "${placeholder "out"}/bin/"
|
||||
substituteInPlace src/boot/efi/meson.build \
|
||||
--replace \
|
||||
"find_program('ld'" \
|
||||
"find_program('${stdenv.cc.bintools.targetPrefix}ld'" \
|
||||
--replace \
|
||||
"find_program('objcopy'" \
|
||||
"find_program('${stdenv.cc.bintools.targetPrefix}objcopy'"
|
||||
|
@ -408,6 +405,7 @@ stdenv.mkDerivation {
|
|||
"-Dsmack=true"
|
||||
"-Db_pie=true"
|
||||
"-Dinstall-sysconfdir=false"
|
||||
"-Defi-ld=${stdenv.cc.bintools.targetPrefix}ld"
|
||||
/*
|
||||
As of now, systemd doesn't allow runtime configuration of these values. So
|
||||
the settings in /etc/login.defs have no effect on it. Many people think this
|
||||
|
|
Loading…
Reference in a new issue