Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Linux expect the second argument of dlopen to not be 0
Baptiste Daroussin committed 10 years ago
commit 4998a901f22edc8472f16ee89b087e617803e9fb
parent 4ceabdd
1 file changed +1 -1
modified libpkg/pkg_config.c
@@ -460,7 +460,7 @@ disable_plugins_if_static(void)
{
	void *dlh;

-
	dlh = dlopen(0, 0);
+
	dlh = dlopen(0, RTLD_NOW);

	/* if dlh is NULL then we are in static binary */
	if (dlh == NULL)