2005-09-01 15:23:17 +00:00
|
|
|
diff --exclude-from=exclude -N -u -r nsalibselinux/src/init.c libselinux-1.25.6/src/init.c
|
|
|
|
--- nsalibselinux/src/init.c 2005-08-25 16:18:01.000000000 -0400
|
|
|
|
+++ libselinux-1.25.6/src/init.c 2005-09-01 11:23:11.000000000 -0400
|
|
|
|
@@ -86,6 +86,7 @@
|
|
|
|
{
|
|
|
|
int (*lib_trans_init)(void) = NULL;
|
2005-08-25 20:21:14 +00:00
|
|
|
|
2005-09-01 15:23:17 +00:00
|
|
|
+#ifdef __PIC__
|
|
|
|
translation_lib_handle = dlopen("libsetrans.so.0", RTLD_NOW);
|
|
|
|
if (!translation_lib_handle)
|
|
|
|
return;
|
|
|
|
@@ -108,6 +109,7 @@
|
|
|
|
return;
|
2005-08-24 13:15:02 +00:00
|
|
|
|
2005-09-01 15:23:17 +00:00
|
|
|
context_translations = 1;
|
|
|
|
+#endif
|
|
|
|
}
|
|
|
|
|
|
|
|
static void fini_translations(void)
|