summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/libs/gettext-full/patches/000-relocatable.patch4
1 files 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