Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Do not expose shlibs without SONAME as provided libs
Baptiste Daroussin committed 11 years ago
commit f0a92c42a7cde7c52cb4b1dff957fb09c8c4a649
parent 2604f4f3fd5d007fd9399920ac36ad0b22c1b371
1 file changed +0 -10
modified libpkg/pkg_elf.c
@@ -382,16 +382,6 @@ analyse_elf(struct pkg *pkg, const char *fpath,
				      bsd_dirname(fpath));
		break;
	}
-
	if (!is_shlib) {
-
		/*
-
		 * Some shared libraries have no SONAME, but we still want
-
		 * to manage them in provides list.
-
		 */
-
		if (elfhdr.e_type == ET_DYN) {
-
			is_shlib = true;
-
			pkg_addshlib_provided(pkg, bsd_basename(fpath));
-
		}
-
	}

	/* Now find all of the NEEDED shared libraries. */