diff options
author | Felix Fietkau <nbd@openwrt.org> | 2016-01-20 23:21:03 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2016-01-20 23:21:03 +0000 |
commit | 4b8b367bba56b898f6b2f8dcb11d4429df8d15c7 (patch) | |
tree | 003064306d1fce8ff4799efffa9e0befafcee576 /package/libs | |
parent | 054e8b416edf33f93cb0616b18194f6fd0942626 (diff) | |
download | master-187ad058-4b8b367bba56b898f6b2f8dcb11d4429df8d15c7.tar.gz master-187ad058-4b8b367bba56b898f6b2f8dcb11d4429df8d15c7.tar.bz2 master-187ad058-4b8b367bba56b898f6b2f8dcb11d4429df8d15c7.zip |
gettext-full: fix relocatable patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48420 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/libs')
-rw-r--r-- | package/libs/gettext-full/patches/000-relocatable.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/libs/gettext-full/patches/000-relocatable.patch b/package/libs/gettext-full/patches/000-relocatable.patch index c475579b39..c14be72836 100644 --- a/package/libs/gettext-full/patches/000-relocatable.patch +++ b/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 |