--- CMakeLists.txt.orig	2017-07-19 13:22:47 UTC
+++ CMakeLists.txt
@@ -391,6 +391,7 @@ endif()
 #
 # Find libdl for dlopen/dlclose
 #
+if(DUMMYFLAG)
 if(UNIX)
     message(STATUS "Looking for dl library.")
     find_library(DL_LIBRARY dl)
@@ -405,6 +406,7 @@ On Linux systems try installing:
         )
     endif()
 endif(UNIX)
+endif(DUMMYFLAG)
 
     
 #Freedv 
