mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 23:42:43 +00:00
gettext-full: fix relocatable patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48420
This commit is contained in:
parent
1c4d5aa207
commit
81868a8619
@ -6,7 +6,7 @@
|
|||||||
# - 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" ]; then
|
||||||
+ prefix="$STAGING_DIR/../host"
|
+ prefix="$STAGING_DIR/host"
|
||||||
+else
|
+else
|
||||||
+ prefix="@prefix@"
|
+ prefix="@prefix@"
|
||||||
+fi
|
+fi
|
||||||
@ -21,7 +21,7 @@
|
|||||||
# - 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" ]; then
|
||||||
+ prefix="$STAGING_DIR/../host"
|
+ prefix="$STAGING_DIR/host"
|
||||||
+else
|
+else
|
||||||
+ prefix="@prefix@"
|
+ prefix="@prefix@"
|
||||||
+fi
|
+fi
|
||||||
|
Loading…
Reference in New Issue
Block a user