Răsfoiți Sursa

gettext-full: fix to use $STAGING_DIR_HOSTPKG instead of $STAGING_DIR/host

Signed-off-by: Matthias Schiffer <[email protected]>
Matthias Schiffer 8 ani în urmă
părinte
comite
421a6d314a
1 a modificat fișierele cu 4 adăugiri și 4 ștergeri
  1. 4 4
      package/libs/gettext-full/patches/000-relocatable.patch

+ 4 - 4
package/libs/gettext-full/patches/000-relocatable.patch

@@ -5,8 +5,8 @@
  # Set variables
  # - gettext_datadir     directory where the data files are stored.
 -prefix="@prefix@"
-+if [ -n "$STAGING_DIR" ]; then
-+	prefix="$STAGING_DIR/host"
++if [ -n "$STAGING_DIR_HOSTPKG" ]; then
++	prefix="$STAGING_DIR_HOSTPKG"
 +else
 +	prefix="@prefix@"
 +fi
@@ -20,8 +20,8 @@
  # Set variables
  # - gettext_datadir     directory where the data files are stored.
 -prefix="@prefix@"
-+if [ -n "$STAGING_DIR" ]; then
-+	prefix="$STAGING_DIR/host"
++if [ -n "$STAGING_DIR_HOSTPKG" ]; then
++	prefix="$STAGING_DIR_HOSTPKG"
 +else
 +	prefix="@prefix@"
 +fi