]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkUtilities.cxx
MacOSX build
[bbtk.git] / kernel / src / bbtkUtilities.cxx
index cce469f9855196150479dbfb430f7b1dec9a31ab..b0eda99f67cbd9db5739e83436edf08c74be4660 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkUtilities.cxx,v $
   Language:  C++
-  Date:      $Date: 2008/10/17 08:18:14 $
-  Version:   $Revision: 1.7 $
+  Date:      $Date: 2008/11/12 12:47:01 $
+  Version:   $Revision: 1.8 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -260,8 +260,12 @@ namespace bbtk
        else
           libname += "libbb";
        libname += pkgname;
-       libname += ".so";
-         
+#if defined(MACOSX)
+         libname += ".dylib";
+#else
+         libname += ".so";
+#endif 
+         
 #elif defined(_WIN32)
        if (c != '\\')
           libname = path+"\\bb";