diff options
author | wtchang%redhat.com <devnull@localhost> | 2005-12-27 17:13:11 +0000 |
---|---|---|
committer | wtchang%redhat.com <devnull@localhost> | 2005-12-27 17:13:11 +0000 |
commit | 13ede2b561ae8617c46f7e212d398db989e19019 (patch) | |
tree | 5d947eaab6b85664854f30961560f3a85aeeaa56 | |
parent | 2c713410f96a166db5325e3bde169c5c82220f85 (diff) | |
download | nspr-hg-13ede2b561ae8617c46f7e212d398db989e19019.tar.gz |
Bugzilla Bugs 261649 and 321579: fixed BeOS build error caused by previous
checkin. BeOS uses glibc but not the dlxxx functions declared in dlfcn.h.
Tag: NSPRPUB_PRE_4_2_CLIENT_BRANCH
-rw-r--r-- | pr/src/linking/prlink.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pr/src/linking/prlink.c b/pr/src/linking/prlink.c index a3459a07..e6e7d64c 100644 --- a/pr/src/linking/prlink.c +++ b/pr/src/linking/prlink.c @@ -1388,8 +1388,8 @@ PR_LoadStaticLibrary(const char *name, const PRStaticLinkTable *slt) PR_IMPLEMENT(char *) PR_GetLibraryFilePathname(const char *name, PRFuncPtr addr) { -#if defined(SOLARIS) || defined(FREEBSD) \ - || defined(LINUX) || defined(__GNU__) || defined(__GLIBC__) +#if defined(USE_DLFCN) && (defined(SOLARIS) || defined(FREEBSD) \ + || defined(LINUX) || defined(__GNU__) || defined(__GLIBC__)) Dl_info dli; char *result; |