--- ./src/apps/ocioconvert/CMakeLists.txt.orig	2012-04-18 09:38:16.000000000 +0930
+++ ./src/apps/ocioconvert/CMakeLists.txt	2012-10-07 21:56:32.462351272 +1030
@@ -10,7 +10,7 @@
     
     add_executable(ocioconvert ${share_src_files} main.cpp)
     
-    target_link_libraries(ocioconvert ${OIIO_LIBRARIES} OpenColorIO dl)
+    target_link_libraries(ocioconvert ${OIIO_LIBRARIES} OpenColorIO ${CMAKE_DL_LIBS})
     
     install(TARGETS ocioconvert DESTINATION ${CMAKE_INSTALL_EXEC_PREFIX}/bin)
 endif()
