aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>2012-07-23 21:11:56 +0159
committerBernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>2012-11-14 11:37:46 +0100
commit89491766692ba1e5acd0eb389b602233e876ee09 (patch)
tree90adc4029d27a45ac7b502c3c3685d5c0ab0fd61
parentf6f9692178debdc9ba3797bf121f5350df25fbcd (diff)
downloadelfutils-linaro_android_4.2.2.tar.gz
elfutils: Don't try to use dgettext on Androidlinaro_android_4.2.2linaro_android_4.2.1linaro_android_4.2
dgettext doesn't seem to be in bionic, causing perf to fail to link when linking to the static libelf built here Change-Id: I4cda6df902a6c6c05863c5485da4cc7e46299052 Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
-rw-r--r--bionic-fixup/AndroidFixup.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/bionic-fixup/AndroidFixup.h b/bionic-fixup/AndroidFixup.h
index e96d57ed..87cc348f 100644
--- a/bionic-fixup/AndroidFixup.h
+++ b/bionic-fixup/AndroidFixup.h
@@ -44,6 +44,7 @@
/* no internalization */
#define gettext(x) (x)
+#define dgettext(x, y) (y)
/* _mempcpy and mempcpy */
#ifndef __mempcpy
@@ -80,7 +81,7 @@ static inline char *stpcpy(char *dst, const char *src)
}
/* forward declarations */
-char * dgettext (const char * domainname, const char * msgid);
+/* char * dgettext (const char * domainname, const char * msgid); */
ssize_t getline(char **lineptr, size_t *n, FILE *stream);