summaryrefslogtreecommitdiff
path: root/sal/osl/unx
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2012-01-31 16:20:14 +0200
committerTor Lillqvist <tlillqvist@suse.com>2012-01-31 16:20:14 +0200
commitb8ea7cff48e4d10e51bec8f2d595323982d8f51b (patch)
tree27394f5c585dc67233eddbe7ea20e7e903d02bdc /sal/osl/unx
parent2c11a8fed62ed6b3aefc2a00cc0ae9c40e9b4a94 (diff)
Call lo_dlclose() on Android
Diffstat (limited to 'sal/osl/unx')
-rw-r--r--sal/osl/unx/module.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sal/osl/unx/module.c b/sal/osl/unx/module.c
index 792f0cd81207..d600bb8c5cde 100644
--- a/sal/osl/unx/module.c
+++ b/sal/osl/unx/module.c
@@ -236,7 +236,11 @@ void SAL_CALL osl_unloadModule(oslModule hModule)
if (hModule)
{
#ifndef NO_DL_FUNCTIONS
+#ifdef ANDROID
+ int nRet = lo_dlclose(hModule);
+#else
int nRet = dlclose(hModule);
+#endif
#if OSL_DEBUG_LEVEL > 1
if (nRet != 0)