Re: [2/2] [new port] multimedia/obs-studio
Stuart Henderson <[email protected]> Sun, 2 Aug 2026 19:28:36 +0100
| Newsgroups | gmane.os.openbsd.ports |
|---|---|
| Message-ID | <[email protected]> |
On 2026/08/02 19:50, Daniil Ryvkin wrote: > 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. Absolutely isn't. It is probably just missing -L/usr/X11R6 -L/usr/local/lib on the command line.