Explorar o código

gettext-full: fix relocatable patch

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

SVN-Revision: 48420
Felix Fietkau %!s(int64=10) %!d(string=hai) anos
pai
achega
81868a8619
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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