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.
This commit is contained in:
Norayr Chilingarian 2017-01-02 00:23:01 +04:00
parent 284b105c80
commit 21fe41385a

View file

@ -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
);
}