Description: Change order of libraries for correct linking with 
 --no-add-needed.
Author: Ilya Barygin <barygin@gmail.com>
--- lipsia-1.6.0.orig/src/dictov/CMakeLists.txt
+++ lipsia-1.6.0/src/dictov/CMakeLists.txt
@@ -19,9 +19,9 @@ SET(DCMTK_LIBS
 SET(LIBS
   lipsia					# should be done by a FindPackage script
   m
-  ${ZLIB_LIBRARIES}
   ${GSL_GSL_LIBRARY}
   ${DCMTK_LIBS}
+  ${ZLIB_LIBRARIES}
   ${VIA_LIBRARY}
   ${VIAIO_LIBRARY})
 
