Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
No build reason found for Fedora_36:ppc64le
home:krop:maintained
opentoonz
0001-Fix-linker-errors-on-Linux.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Fix-linker-errors-on-Linux.patch of Package opentoonz
From d9f3624936fa3669363b4670e5dc196e47f0ea16 Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux <christophe@krop.fr> Date: Mon, 13 Apr 2020 10:14:42 +0200 Subject: [PATCH] Fix linker errors on Linux. OpenToonz uses dlopen in a couple places, so it needs to link 'dl'. --- toonz/sources/tnzcore/CMakeLists.txt | 2 +- toonz/sources/toonzqt/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/toonz/sources/tnzcore/CMakeLists.txt b/toonz/sources/tnzcore/CMakeLists.txt index e1cdaa2..72a3d26 100644 --- a/toonz/sources/tnzcore/CMakeLists.txt +++ b/toonz/sources/tnzcore/CMakeLists.txt @@ -358,5 +358,5 @@ 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} ) diff --git a/toonz/sources/toonzqt/CMakeLists.txt b/toonz/sources/toonzqt/CMakeLists.txt index 0c44f51..de693f3 100644 --- a/toonz/sources/toonzqt/CMakeLists.txt +++ b/toonz/sources/toonzqt/CMakeLists.txt @@ -252,4 +252,4 @@ 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}) -- 2.40.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor