| Summary: | dev-games/irrlicht does not create symlink for shared lib | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Julian Ospald <hasufell> |
| Component: | New packages | Assignee: | Gentoo Games <games> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
--- dev-games/irrlicht/irrlicht-1.7.3.ebuild +++ dev-games/irrlicht/irrlicht-1.7.3.ebuild @@ -3,7 +3,7 @@ # $Header: /var/cvsroot/gentoo-x86/dev-games/irrlicht/irrlicht-1.7.3.ebuild,v 1.4 2012/08/08 19:51:00 ranger Exp $ EAPI=2 -inherit eutils toolchain-funcs +inherit eutils multilib toolchain-funcs DESCRIPTION="open source high performance realtime 3D engine written in C++" HOMEPAGE="http://irrlicht.sourceforge.net/" @@ -50,6 +50,7 @@ cd ../.. dolib.a lib/Linux/libIrrlicht.a || die dolib.so lib/Linux/libIrrlicht.so* || die + dosym $(basename `ls lib/Linux/libIrrlicht.so*`) /usr/$(get_libdir)/libIrrlicht.so || die insinto /usr/include/${PN} doins include/* || die dodoc changes.txt readme.txt this is fixed in irrlicht-1.8 |
this makes it difficult to force shared lib inside cmake for example, cause you cannot point to "libIrrlicht.so" and it will always try to prefer static unless you specify the full libname which would break on any version bump if version-specific the irrlicht Makefile itself does: sharedlib install: SHARED_LIB = libIrrlicht.so [...] cd $(INSTALL_DIR) && ln -s -f $(SHARED_LIB).$(VERSION) $(SHARED_LIB)