pantherb / setBfree

DSP tonewheel organ
http://setbfree.org
GNU General Public License v2.0
194 stars 35 forks source link

Fix gl linking #83

Closed Ast-x64 closed 2 years ago

x42 commented 2 years ago

I'm curious which, on which distro is this needed? libglu requires libgl (or an equivalent). It should not be needed to specify libgl explicitly.

Here on debian, I get the following:

$ pkg-config --libs glu 
-lGLU -lGL
$ pkg-config --libs gl glu 
-lGLU -lGL
Ast-x64 commented 2 years ago

I'm curious which, on which distro is this needed? libglu requires libgl (or an equivalent). It should not be needed to specify libgl explicitly.

Here on debian, I get the following:

$ pkg-config --libs glu 
-lGLU -lGL
$ pkg-config --libs gl glu 
-lGLU -lGL

Thanks for your reply. I'm on archlinux and I get the following:

sh-5.1# pkg-config --libs glu
-lGLU
sh-5.1# pkg-config --libs gl
-lGL
x42 commented 2 years ago

I just talked to an arch developer. Arch ships a bleeding-edge build of libglu (using meson to build it instead of autotools).

The issue was fixed upstream https://cgit.freedesktop.org/mesa/glu/commit/?id=225e00a14a9200f11253775a7c7778c1c29c8b23 and once arch picks up new libglu, the problem will go away.

x42 commented 2 years ago

It was just updated in Arch: "upgpkg: glu 9.0.2-2: fix pkgconfig file"

https://github.com/archlinux/svntogit-packages/commit/5c060791cfc60ed6fecf4400423498281b947b12

Ast-x64 commented 2 years ago

Thanks for your reply. I'll close this pr.