Am Fri, 21 Apr 2023 19:43:25 +0200
schrieb Omar Polo <[email protected]>:

> On 2023/04/13 21:56:43 +0200, Florian Viehweger
> <[email protected]> wrote:
> > Hi,
> > 
> > this updates openttd to 13.1, changes are listed here[1].
> > 
> > I've played a bit on amd64 and found no issues.
> > 
> > Comments?
> 
> builds and works fine for me.  `make port-lib-depends-check' complains
> about unneeded WANTLIBs but I guess that's due to SDL2 being
> statically linked:
> 
>       % mpldc
> 
>       openttd-13.1(games/openttd):
>       Extra:  X11.18 Xcursor.5 Xext.13 Xfixes.6 Xi.12 Xrandr.7 Xss.6
>       Extra:  samplerate.3 sndio.7 usbhid.7
> 
> I've tried again to see why it gets linked statically, but got
> headaches reading CMakeLists.txt.  I tried to set up a simple
> reproduction project but FindSDL2.cmake seems to dynamically link by
> default.  No idea.
> 
> So, I guess it's ok to commit the diff as-is until someone figures
> this out.  Dropping those deps from WANTLIB should make it worse.
> Will do in a couple of days provided nobody objects (but hoping
> someone will understand what's going on ;-)
> 
> P.S.: if grep doesn't lie -and assuming I know how to grep- there are
>       no dlopen() calls.

Thank you for looking at it. I'm also unsure what's going on and
hopefully it gets sorted out.

Thanks again!

-- 
greetings,

Florian Viehweger

Reply via email to