Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Do not require libraries that are provided by the same package.
Vsevolod Stakhov committed 12 years ago
commit f38e89886e26558cf8a57fd1c3e6db92904b6259
parent e30604b0079148a40abf17ec81bb7a331158bf89
1 file changed +5 -0
modified libpkg/pkg.c
@@ -1005,6 +1005,11 @@ pkg_addshlib_required(struct pkg *pkg, const char *name)
	if (s != NULL)
		return (EPKG_OK);

+
	HASH_FIND_STR(pkg->shlibs_provided, name, s);
+
	/* avoid deps on the same package */
+
	if (s != NULL)
+
		return (EPKG_OK);
+

	pkg_shlib_new(&s);

	sbuf_set(&s->name, name);