CVS patchset: 783
CVS date: 1996/07/11 15:11:49
s++;
if (strstr(s, ".so.")) {
- sprintf(command, "objdump --raw %s --section=.dynstr 2> /dev/null | tr '\\0' '\\n' | tail -1", f);
+ sprintf(command,
+ "objdump --raw %s%s --section=.dynstr 2> /dev/null |"
+ "tr '\\0' '\\n' | tail -1",
+ getVar(RPMVAR_ROOT) ? getVar(RPMVAR_ROOT) : "" ,f);
pipe = popen(command, "r");
soname[0] = '\0';
fgets(soname, sizeof(soname)-1, pipe);