File link_dynamic_gl2ps.patch of Package gmsh
--- a/CMakeLists.txt 2019-07-27 17:44:07.292674502 +0200
+++ b/CMakeLists.txt 2019-07-27 17:46:30.790134865 +0200
@@ -1606,6 +1606,7 @@
else()
set(LINK_LIBRARIES ${EXTERNAL_LIBRARIES} ${LAPACK_LIBRARIES})
endif()
+list(APPEND LINK_LIBRARIES -lgl2ps)
# try to use static gfortran on static builds (cannot do this on dynamic builds
# as e.g. Debian compiles libgfortran.a without -fPIC: sigh...)
--- a/src/graphics/CMakeLists.txt 2019-07-27 17:54:11.242820858 +0200
+++ b/src/graphics/CMakeLists.txt 2019-07-27 17:54:06.198769524 +0200
@@ -15,7 +15,6 @@
drawScales.cpp
drawGraph2d.cpp
drawGlyph.cpp
- gl2ps.cpp
gl2gif.cpp
gl2jpeg.cpp
gl2png.cpp