Summary: | dev-games/irrlicht - build a shared library too | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Chris Long <chrislong> |
Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | tdalman |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Chris Long
2010-02-15 15:07:56 UTC
in general, it isnt as simple as saying "let's make it a shared library". you need to consider all the requirements surrounding the move from static to shared. in the case of Irrlicht, it does support a shared library mode ("sharedlib"), so we can build both. but if upstream doesnt support it, then we arent going to either. I don't use irrlicht so it might still need work, but I made it build/install the .so file as well. Give it a try and submit patches if it needs more to work for you. Thanks for the update. I re-emerged it and now I've got a shared lib, too. However, I did discover that it has a dependency on libbz2 but isn't linked against it. So I think if -lbz2 were added in the creation of the .so, it would work fine. A minor nit is that it doesn't create a symlink named just libIrrlicht.so. But that's easy to fix manually. |