summaryrefslogtreecommitdiff
path: root/src/lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.c')
-rw-r--r--src/lib.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib.c b/src/lib.c
index 1304c89..c571a0d 100644
--- a/src/lib.c
+++ b/src/lib.c
@@ -1456,7 +1456,11 @@ enchant_get_prefix_dir(void)
void
enchant_set_prefix_dir(const char *new_prefix)
{
+#ifdef ENABLE_RELOCATABLE
set_relocation_prefix (INSTALLPREFIX, new_prefix);
+#else
+ (void)new_prefix;
+#endif
}
const char * _GL_ATTRIBUTE_CONST