pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/57938: cad/occt OpenCASCADEFoundationClassesTargets.cmake sets -ldl



The following reply was made to PR pkg/57938; it has been noted by GNATS.

From: Thomas Klausner <wiz%NetBSD.org@localhost>
To: NetBSD bugtracking <gnats-bugs%NetBSD.org@localhost>
Cc: 
Subject: Re: pkg/57938: cad/occt OpenCASCADEFoundationClassesTargets.cmake
 sets -ldl
Date: Thu, 15 Feb 2024 22:23:17 +0100

 On Thu, Feb 15, 2024 at 09:20:01PM +0000, Manuel.Bouyer%lip6.fr@localhost wrote:
 > 	remplacing
 > INTERFACE_LINK_LIBRARIES "pthread;rt;stdc++;dl"
 > 	with
 > INTERFACE_LINK_LIBRARIES "pthread;rt;stdc++;${CMAKE_DL_LIBS}"
 > 
 > 	works for me but I don't know if it would DTRT on linux.
 
 This should work, yes. See:
 cmake-3.28.3/Modules/Platform/Linux.cmake:set(CMAKE_DL_LIBS "dl")
 
 So please add that patch - thanks!
  Thomas
 


Home | Main Index | Thread Index | Old Index