$OpenBSD: patch-mscore_CMakeLists_txt,v 1.6 2017/07/06 08:01:09 bcallah Exp $
Index: mscore/CMakeLists.txt
--- mscore/CMakeLists.txt.orig
+++ mscore/CMakeLists.txt
@@ -493,7 +493,6 @@ else (MINGW)
             ${ALSA_LIB}
             ${QT_LIBRARIES}
             z
-            dl
             pthread
             )
 
@@ -545,7 +544,7 @@ else (MINGW)
             endif (USE_PORTMIDI)
             target_link_libraries(mscore ${OsxFrameworks})
       else (APPLE)
-            target_link_libraries(mscore rt)
+            target_link_libraries(mscore)
       endif (APPLE)
 
       # gold does not use indirect shared libraries for symbol resolution, Linux only
@@ -553,7 +552,7 @@ else (MINGW)
             if (USE_JACK)
                   target_link_libraries(mscore dl)
             endif (USE_JACK)
-                  target_link_libraries(mscore rt)
+                  target_link_libraries(mscore)
       endif (NOT APPLE)
 
       if (APPLE)
