mirror of https://github.com/hak5/openwrt.git
gettext-full: fix relocatable patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48420lede-17.01
parent
1c4d5aa207
commit
81868a8619
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue