Skip to content

Commit 658482d

Browse files
committed
build: do not delete package locale data if GLIBC_LOCALE is set to yes
1 parent ad842cf commit 658482d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/build

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,9 @@ if [ ! -f $STAMP ]; then
336336
rm -rf $i/share/doc
337337
rm -rf $i/share/gtk-doc
338338
rm -rf $i/share/info
339-
rm -rf $i/share/locale
339+
if [ ! "$GLIBC_LOCALES" = yes ]; then
340+
rm -rf $i/share/locale
341+
fi
340342
rm -rf $i/share/man
341343
rm -rf $i/share/pkgconfig
342344
find $i -name "*.la" -exec rm -f "{}" ";" 2>/dev/null || true

0 commit comments

Comments
 (0)