[osx] fixed - use the correct dylib name in cecloader.h, used by cec-client
authorLars Op den Kamp <lars@opdenkamp.eu>
Fri, 1 Mar 2013 23:33:14 +0000 (00:33 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Fri, 1 Mar 2013 23:33:14 +0000 (00:33 +0100)
include/cecloader.h

index 190f3f87bef2d920b9a602f29fd60b06e92d1dda..6c7c97a04d417167eeceed71d18d3e0f1c5c3374 100644 (file)
@@ -130,7 +130,7 @@ CEC::ICECAdapter *LibCecInitialise(CEC::libcec_configuration *configuration, con
   if (!g_libCEC)
   {
 #if defined(__APPLE__)
-    g_libCEC = dlopen(strLib ? strLib : "libcec.dylib", RTLD_LAZY);
+    g_libCEC = dlopen(strLib ? strLib : "libcec." CEC_LIB_VERSION_MAJOR_STR ".dylib", RTLD_LAZY);
 #else
     g_libCEC = dlopen(strLib ? strLib : "libcec.so." CEC_LIB_VERSION_MAJOR_STR, RTLD_LAZY);
 #endif