systemd: update substituteInPlace to restore cross
systemd-aarch64-unknown-linux-gnu> src/boot/efi/meson.build:433:8: ERROR: Program 'objcopy' not found or not executable
This commit is contained in:
parent
f09c360345
commit
229ecd4bbc
1 changed files with 2 additions and 2 deletions
|
@ -211,8 +211,8 @@ stdenv.mkDerivation {
|
||||||
substituteInPlace src/basic/path-util.h --replace "@defaultPathNormal@" "${placeholder "out"}/bin/"
|
substituteInPlace src/basic/path-util.h --replace "@defaultPathNormal@" "${placeholder "out"}/bin/"
|
||||||
substituteInPlace src/boot/efi/meson.build \
|
substituteInPlace src/boot/efi/meson.build \
|
||||||
--replace \
|
--replace \
|
||||||
"find_program('objcopy'" \
|
"run_command(cc.cmd_array(), '-print-prog-name=objcopy', check: true).stdout().strip()" \
|
||||||
"find_program('${stdenv.cc.bintools.targetPrefix}objcopy'"
|
"'${stdenv.cc.bintools.targetPrefix}objcopy'"
|
||||||
'' + (
|
'' + (
|
||||||
let
|
let
|
||||||
# The following patches references to dynamic libraries to ensure that
|
# The following patches references to dynamic libraries to ensure that
|
||||||
|
|
Loading…
Reference in a new issue