From 81868a86194b251e262e7bc351b41f0b79be0a52 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 20 Jan 2016 23:21:03 +0000 Subject: [PATCH] gettext-full: fix relocatable patch Signed-off-by: Felix Fietkau SVN-Revision: 48420 --- package/libs/gettext-full/patches/000-relocatable.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libs/gettext-full/patches/000-relocatable.patch b/package/libs/gettext-full/patches/000-relocatable.patch index c475579b39..c14be72836 100644 --- a/package/libs/gettext-full/patches/000-relocatable.patch +++ b/package/libs/gettext-full/patches/000-relocatable.patch @@ -6,7 +6,7 @@ # - gettext_datadir directory where the data files are stored. -prefix="@prefix@" +if [ -n "$STAGING_DIR" ]; then -+ prefix="$STAGING_DIR/../host" ++ prefix="$STAGING_DIR/host" +else + prefix="@prefix@" +fi @@ -21,7 +21,7 @@ # - gettext_datadir directory where the data files are stored. -prefix="@prefix@" +if [ -n "$STAGING_DIR" ]; then -+ prefix="$STAGING_DIR/../host" ++ prefix="$STAGING_DIR/host" +else + prefix="@prefix@" +fi -- 2.25.1