mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-10 13:29:58 -05:00
tests: Fix resampler-test compilation without NLS support
This commit is contained in:
parent
be9ef2e96c
commit
5a908ae513
1 changed files with 2 additions and 0 deletions
|
|
@ -323,7 +323,9 @@ int main(int argc, char *argv[]) {
|
||||||
};
|
};
|
||||||
|
|
||||||
setlocale(LC_ALL, "");
|
setlocale(LC_ALL, "");
|
||||||
|
#ifdef ENABLE_NLS
|
||||||
bindtextdomain(GETTEXT_PACKAGE, PULSE_LOCALEDIR);
|
bindtextdomain(GETTEXT_PACKAGE, PULSE_LOCALEDIR);
|
||||||
|
#endif
|
||||||
|
|
||||||
pa_log_set_level(PA_LOG_WARN);
|
pa_log_set_level(PA_LOG_WARN);
|
||||||
if (!getenv("MAKE_CHECK"))
|
if (!getenv("MAKE_CHECK"))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue