gettext-full: fix to use $STAGING_DIR_HOSTPKG instead of $STAGING_DIR/host
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
This commit is contained in:
@@ -5,8 +5,8 @@
|
|||||||
# Set variables
|
# Set variables
|
||||||
# - gettext_datadir directory where the data files are stored.
|
# - gettext_datadir directory where the data files are stored.
|
||||||
-prefix="@prefix@"
|
-prefix="@prefix@"
|
||||||
+if [ -n "$STAGING_DIR" ]; then
|
+if [ -n "$STAGING_DIR_HOSTPKG" ]; then
|
||||||
+ prefix="$STAGING_DIR/host"
|
+ prefix="$STAGING_DIR_HOSTPKG"
|
||||||
+else
|
+else
|
||||||
+ prefix="@prefix@"
|
+ prefix="@prefix@"
|
||||||
+fi
|
+fi
|
||||||
@@ -20,8 +20,8 @@
|
|||||||
# Set variables
|
# Set variables
|
||||||
# - gettext_datadir directory where the data files are stored.
|
# - gettext_datadir directory where the data files are stored.
|
||||||
-prefix="@prefix@"
|
-prefix="@prefix@"
|
||||||
+if [ -n "$STAGING_DIR" ]; then
|
+if [ -n "$STAGING_DIR_HOSTPKG" ]; then
|
||||||
+ prefix="$STAGING_DIR/host"
|
+ prefix="$STAGING_DIR_HOSTPKG"
|
||||||
+else
|
+else
|
||||||
+ prefix="@prefix@"
|
+ prefix="@prefix@"
|
||||||
+fi
|
+fi
|
||||||
|
|||||||
Reference in New Issue
Block a user