1 --- a/src/libespeak-ng/mbrowrap.c
2 +++ b/src/libespeak-ng/mbrowrap.c
4 signal(SIGTERM, SIG_IGN);
6 snprintf(charbuf, sizeof(charbuf), "%g", mbr_volume);
7 - execlp("mbrola", "mbrola", "-e", "-v", charbuf,
8 + execlp("@mbrola@/bin/mbrola", "mbrola", "-e", "-v", charbuf,
9 voice_path, "-", "-.wav", (char *)NULL);
10 /* if execution reaches this point then the exec() failed */
11 snprintf(mbr_errorbuf, sizeof(mbr_errorbuf),
12 --- a/src/libespeak-ng/synth_mbrola.c
13 +++ b/src/libespeak-ng/synth_mbrola.c
16 return ENS_MBROLA_NOT_FOUND;
18 - sprintf(path, "%s/mbrola/%s", path_home, mbrola_voice);
19 + sprintf(path, "@mbrola@/share/mbrola/voices/%s/%s", mbrola_voice, mbrola_voice);
21 // if not found, then also look in
22 // usr/share/mbrola/xx, /usr/share/mbrola/xx/xx, /usr/share/mbrola/voices/xx