浏览代码

gettext-full: fix relocatable patch

Signed-off-by: Felix Fietkau <[email protected]>

SVN-Revision: 48420
Felix Fietkau 10 年之前
父节点
当前提交
81868a8619
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      package/libs/gettext-full/patches/000-relocatable.patch

+ 2 - 2
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