$OpenBSD: patch-CommonUtilitiesLib_OSCodeFragment_cpp,v 1.1.1.1 2003/05/23 16:19:28 jakob Exp $ --- CommonUtilitiesLib/OSCodeFragment.cpp.orig Sat Feb 22 00:42:10 2003 +++ CommonUtilitiesLib/OSCodeFragment.cpp Mon Apr 7 16:50:42 2003 @@ -64,6 +64,8 @@ OSCodeFragment::OSCodeFragment(const cha // Need to put CFM code here #elif defined(__FreeBSD__) fFragmentP = dlopen(inPath, RTLD_NOW); +#elif defined(__OpenBSD__) + fFragmentP = dlopen(inPath, RTLD_LAZY); #elif defined(__Win32__) fFragmentP = ::LoadLibrary(inPath); #elif defined(__MacOSX__)