mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
check: fix symbol exporting when building under et_EE locale
[A-Z] regexp fails under et_EE locale because Z in Estonian alphabet is located after S and therefore characters starting with 'TUV...' are not in the range anymore. Fixes bug #602093.
This commit is contained in:
parent
cb28889b11
commit
6b234d7ce4
1 changed files with 5 additions and 4 deletions
|
@ -89,16 +89,17 @@ LIBGSTCHECK_EXPORTED_SYMBOLS = \
|
|||
$(LIBGSTCHECK_EXPORTED_VARS) \
|
||||
$(LIBGSTCHECK_EXPORTED_FUNCS)
|
||||
|
||||
# Please do not even think about changing the alphabet below into A-Za-z.
|
||||
# It is there for purpose. (Bug #602093)
|
||||
CHECK_SYMS=`$(SED) -n -e 's/^..*CK_EXPORT[ ]\{1,\}\([_0-9ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz]\{1,\}\)..*$$/\1/p' @top_srcdir@/libs/gst/check/libcheck/check.h.in`
|
||||
print-check-symbols:
|
||||
CHECK_SYMS=`$(SED) -n -e 's/^..*CK_EXPORT[ ]\{1,\}\([_0-9A-Za-z]\{1,\}\)..*$$/\1/p' @top_srcdir@/libs/gst/check/libcheck/check.h.in` ; \
|
||||
for s in $$CHECK_SYMS; do \
|
||||
for s in $(CHECK_SYMS); do \
|
||||
echo $$s; \
|
||||
done;
|
||||
|
||||
$(SYMBOLS_FILE):
|
||||
CHECK_SYMS=`$(SED) -n -e 's/^..*CK_EXPORT[ ]\{1,\}\([_0-9A-Za-z]\{1,\}\)..*$$/\1/p' @top_srcdir@/libs/gst/check/libcheck/check.h.in` ; \
|
||||
rm -f $(SYMBOLS_FILE) 2>/dev/null; \
|
||||
for s in $(LIBGSTCHECK_EXPORTED_SYMBOLS) $$CHECK_SYMS; do \
|
||||
for s in $(LIBGSTCHECK_EXPORTED_SYMBOLS) $(CHECK_SYMS); do \
|
||||
echo $$s >> $(SYMBOLS_FILE); \
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in a new issue