diff --git a/package/libs/gettext-full/patches/000-relocatable.patch b/package/libs/gettext-full/patches/000-relocatable.patch index c475579b39d..c14be728367 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