summaryrefslogtreecommitdiff
blob: c672a10e2cf6c0602bcf49693e3fad5ca9cdfc71 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/make.tmpl.in
+++ b/make.tmpl.in
@@ -571,7 +571,7 @@
 	( cat $(srcdir)/.exported_symbols; \
 	  if test -n "$(EXPORTED_HEADER)"; then \
 		$(CC) -E -P $(INCLUDES) $(DEFS) $(EXPORTED_HEADER) | \
-		$(SED) -ne "/^typedef|}/!s/.*[ *]\($(EXPORTED_FN_PREFIX)_[a-z0-9_]*\)(.*/\1/p"; \
+		LC_ALL=C $(SED) -ne "/^typedef|}/!s/.*[ *]\($(EXPORTED_FN_PREFIX)_[a-z0-9_]*\)(.*/\1/p"; \
 	  fi \
 	) > $@