summaryrefslogtreecommitdiffstats
path: root/src/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/config.c b/src/config.c
index 7cb4672..a52a489 100644
--- a/src/config.c
+++ b/src/config.c
@@ -221,6 +221,12 @@ int lt_config(struct lt_config_app *cfg, int argc, char **argv)
break;
case 'd':
+ #ifndef LT_LIBERTY
+ printf("demangle support not compiled in," \
+ " liberty not found\n");
+ break;
+ #endif
+
lt_sh(cfg, demangle) = 1;
break;