Group :: Gráficos
RPM: opentoonz
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: opensuse-0001-Fix-linker-errors-on-Linux.patch
Download
Download
diff --git a/toonz/sources/tnzcore/CMakeLists.txt b/toonz/sources/tnzcore/CMakeLists.txt
index a3f7cd1f..8170c0dc 100644
--- a/toonz/sources/tnzcore/CMakeLists.txt
+++ b/toonz/sources/tnzcore/CMakeLists.txt
@@ -356,7 +356,7 @@ endif()
target_link_libraries(tnzcore
Qt5::Core Qt5::OpenGL Qt5::Network Qt5::Multimedia
${GL_LIB} ${GLUT_LIB} ${QT_LIB} ${Z_LIB} ${JPEG_LIB} ${LZ4_LIB}
- ${EXTRA_LIBS}
+ ${EXTRA_LIBS} ${CMAKE_DL_LIBS}
)
install(
diff --git a/toonz/sources/toonzqt/CMakeLists.txt b/toonz/sources/toonzqt/CMakeLists.txt
index c74573b5..98a6e72e 100644
--- a/toonz/sources/toonzqt/CMakeLists.txt
+++ b/toonz/sources/toonzqt/CMakeLists.txt
@@ -248,7 +248,7 @@ elseif(BUILD_ENV_UNIXLIKE)
endif()
endif()
-target_link_libraries(toonzqt Qt5::Core Qt5::Gui Qt5::Widgets Qt5::Network Qt5::OpenGL Qt5::Svg ${EXTRA_LIBS} ${GL_LIB})
+target_link_libraries(toonzqt Qt5::Core Qt5::Gui Qt5::Widgets Qt5::Network Qt5::OpenGL Qt5::Svg ${EXTRA_LIBS} ${GL_LIB} ${CMAKE_DL_LIBS})
install(
TARGETS