Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Do not expose shlibs without SONAME as provided libs
Baptiste Daroussin committed 11 years ago
commit f0a92c42a7cde7c52cb4b1dff957fb09c8c4a649
parent 2604f4f
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. */