From d78f860bd3b834be2dd6d21d314551825a854999 Mon Sep 17 00:00:00 2001 From: Dmitry Rozenshtein Date: Tue, 26 Jul 2011 14:09:32 +0300 Subject: [PATCH] Changes: NB#274400 (loadLibraries() "now", "lazy" and "deep") RevBy: Alexey Shilov --- scripts/library-helper.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/library-helper.py b/scripts/library-helper.py index 42126e9..72f3ed1 100755 --- a/scripts/library-helper.py +++ b/scripts/library-helper.py @@ -28,6 +28,14 @@ real_runtime_deps = set(['${shlibs:Depends}', D = 0 # dlopen L = 1 # link +# Library modifiers for dlopen (D-status only!), do not use modifiers below for L-status (link) libraries +# Add extra-symbol on first position of library name to control dlopen mode. See dlopen(3) for details. +# 'N' - default, dlopen mode is RTLD_NOW | RTLD_GLOBAL, ex "N/usr/lib/libsomelibrary.so" is equvalent to "/usr/lib/libsomelibrary.so": RTLD_NOW | RTLD_GLOBAL will be used for dlopen +# 'L' - dlopen mode is RTLD_LAZY | RTLD_GLOBAL, ex "L/usr/lib/libsomelibrary.so": RTLD_LAZY | RTLD_GLOBAL will be used for dlopen +# 'D' - dlopen mode is RTLD_DEEPBIND | RTLD_GLOBAL, ex "D/usr/lib/libsomelibrary.so": RTLD_DEEPBIND | RTLD_GLOBAL will be used for dlopen +# '#' - library will NOT be dlopened, ex "#/usr/lib/libsomelibrary.so" - will not be dlopened + + libraries_nokia = [ # Library Linker flags, Binary package, Dev package #(L, "/usr/lib/libcontactsvoicemail.so.0", "-lcontactsvoicemail", "libcontactsvoicemail0", "libcontactswidgets-dev"),