summaryrefslogtreecommitdiffstats
path: root/package/libnss/libnss-uclibc.patch
blob: 17e8080840e59542a1160985f849866aa5c86068 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

uCLibc does not define RTLD_NOLOAD.

Signed-off-by: Will Newton <will.newton@imgtec.com>

--- nss-3.12.9.old/mozilla/security/nss/lib/freebl/stubs.c	2011-07-08 13:32:54.964338355 +0100
+++ nss-3.12.9/mozilla/security/nss/lib/freebl/stubs.c	2011-07-08 13:33:57.255337490 +0100
@@ -535,6 +535,11 @@
     return SECSuccess;
 }
 
+/* uClibc does not define RTLD_NOLOAD. */
+#ifndef RTLD_NOLOAD
+#define RTLD_NOLOAD 0
+#endif
+
 /*
  * fetch the library if it's loaded. For NSS it should already be loaded
  */