summaryrefslogtreecommitdiff
path: root/Source/cmDynamicLoader.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-04-16 14:13:34 -0400
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-04-16 14:13:34 -0400
commit304582d2085cc2ff91fab3f6e5abbae9316ef934 (patch)
tree38738cb2718d19cdba0a4ba23d3230f750cb6f2b /Source/cmDynamicLoader.cxx
parent3d1b9adc20d79a45a8fd4bc1a658fce450aea292 (diff)
downloadcmake-304582d2085cc2ff91fab3f6e5abbae9316ef934.tar.gz
Attempt to make unloading work on OSX
Diffstat (limited to 'Source/cmDynamicLoader.cxx')
-rw-r--r--Source/cmDynamicLoader.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmDynamicLoader.cxx b/Source/cmDynamicLoader.cxx
index f031049afb..0298f19420 100644
--- a/Source/cmDynamicLoader.cxx
+++ b/Source/cmDynamicLoader.cxx
@@ -181,6 +181,7 @@ cmLibHandle cmDynamicLoader::OpenLibrary(const char* libname )
int cmDynamicLoader::CloseLibrary(cmLibHandle lib)
{
+ NSUnLinkModule(lib, FALSE);
return 0;
}