mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-05 21:02:26 +00:00
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:
parent
284b105c80
commit
21fe41385a
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue