Re: [2/2] [new port] multimedia/obs-studio

Daniil Ryvkin <[email protected]> Sun, 2 Aug 2026 19:50:56 +0300
Newsgroups gmane.os.openbsd.ports
Message-ID <[email protected]>
On Wed, Jul 29, 2026 at 05:32:51PM +0100, Stuart Henderson wrote:
> > 	libuuid found via file(GLOB) in the OpenBSD cmake file
> > 	libGL found via file(GLOB) in libobs-opengl patch
> 
> I don't understand this, what's wrong with -lGL -luuid?
> 
> 

I tried -lGL and -luuid, but on OpenBSD there are no unversioned .so symlinks for these libraries - only versioned files
(libGL.so.19.2, libuuid.so.14.1). The linker fails with "unable to find library -lGL". CMake's own find_library() finds the versioned
files fine, but generating -lGL as a link flag does not work.

I think file(GLOB) is the right approach here.