blob: 54f14c127babbe72da71a27875306e2cd2b8f472 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-du,v 1.2 2009/05/29 13:22:11 he Exp $
--- nsprpub/pr/src/linking/prlink.c.orig 2006-10-07 01:36:22.000000000 +0200
+++ nsprpub/pr/src/linking/prlink.c
@@ -1606,7 +1606,7 @@ PR_LoadStaticLibrary(const char *name, c
PR_IMPLEMENT(char *)
PR_GetLibraryFilePathname(const char *name, PRFuncPtr addr)
{
-#if defined(SOLARIS) || defined(LINUX) || defined(FREEBSD)
+#if defined(SOLARIS) || defined(LINUX) || defined(FREEBSD) || defined(DRAGONFLY)
Dl_info dli;
char *result;
|