From 5a908ae513c48c1e37686c0fdc4c066811af8df1 Mon Sep 17 00:00:00 2001
From: Peter Meerwald
Date: Wed, 14 Dec 2011 16:07:57 +0100
Subject: [PATCH] tests: Fix resampler-test compilation without NLS support
---
src/tests/resampler-test.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/tests/resampler-test.c b/src/tests/resampler-test.c
index ebd6fdd..87681c6 100644
--- a/src/tests/resampler-test.c
+++ b/src/tests/resampler-test.c
@@ -323,7 +323,9 @@ int main(int argc, char *argv[]) {
};
setlocale(LC_ALL, "");
+#ifdef ENABLE_NLS
bindtextdomain(GETTEXT_PACKAGE, PULSE_LOCALEDIR);
+#endif
pa_log_set_level(PA_LOG_WARN);
if (!getenv("MAKE_CHECK"))
--
2.7.4