summaryrefslogtreecommitdiffstats
path: root/Source/cmDynamicLoader.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-04-16 18:13:34 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-04-16 18:13:34 (GMT)
commit304582d2085cc2ff91fab3f6e5abbae9316ef934 (patch)
tree38738cb2718d19cdba0a4ba23d3230f750cb6f2b /Source/cmDynamicLoader.cxx
parent3d1b9adc20d79a45a8fd4bc1a658fce450aea292 (diff)
downloadCMake-304582d2085cc2ff91fab3f6e5abbae9316ef934.zip
CMake-304582d2085cc2ff91fab3f6e5abbae9316ef934.tar.gz
CMake-304582d2085cc2ff91fab3f6e5abbae9316ef934.tar.bz2
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 f031049..0298f19 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;
}