uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
17
pkgs/development/libraries/gettext/gettext-setup-hook.sh
Normal file
17
pkgs/development/libraries/gettext/gettext-setup-hook.sh
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
gettextDataDirsHook() {
|
||||
# See pkgs/build-support/setup-hooks/role.bash
|
||||
getHostRoleEnvHook
|
||||
if [ -d "$1/share/gettext" ]; then
|
||||
addToSearchPath "GETTEXTDATADIRS${role_post}" "$1/share/gettext"
|
||||
fi
|
||||
}
|
||||
|
||||
addEnvHooks "$hostOffset" gettextDataDirsHook
|
||||
|
||||
# libintl must be listed in load flags on non-Glibc
|
||||
# it doesn't hurt to have it in Glibc either though
|
||||
if [ -n "@gettextNeedsLdflags@" -a -z "${dontAddExtraLibs-}" ]; then
|
||||
# See pkgs/build-support/setup-hooks/role.bash
|
||||
getHostRole
|
||||
export NIX_LDFLAGS${role_post}+=" -lintl"
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue