From 21fe41385af3d69d5c491e80de3254d5ea229ffa Mon Sep 17 00:00:00 2001 From: Norayr Chilingarian Date: Mon, 2 Jan 2017 00:23:01 +0400 Subject: [PATCH] fixed configure.c, replaced escape character '\' with quotation mark, because that character caused quotation marks in libvoc.conf file with paths for ldconfig, why ldconfig was failing. --- src/tools/make/configure.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/make/configure.c b/src/tools/make/configure.c index 6ef80440..30db9ce0 100644 --- a/src/tools/make/configure.c +++ b/src/tools/make/configure.c @@ -197,11 +197,11 @@ void determineInstallDirectory() { void determineLdconfig() { // Generate appropriate ldconfig command for this OS if (bsd) { - snprintf(ldconfig, sizeof(ldconfig), "ldconfig -m \"%s/lib\"", installdir); + snprintf(ldconfig, sizeof(ldconfig), "ldconfig -m ""%s/lib""", installdir); } else { snprintf( ldconfig, sizeof(ldconfig), - "if echo \"%s/lib\" >/etc/ld.so.conf.d/lib%s.conf; then ldconfig; fi", + "if echo ""%s/lib"" >/etc/ld.so.conf.d/lib%s.conf; then ldconfig; fi", installdir, oname ); }