Bug#580372: libbsd0: Makefile needs a small fix?
On Mon, 10 May 2010, Guillem Jover wrote:
> tag 580372 fixed-upstream
> thanks
>
> On Wed, 2010-05-05 at 16:34:19 +0200, Cristian Ionescu-Idbohrn wrote:
> > Package: libbsd0
> > Version: 0.2.0-1
> > Severity: wishlist
> >
> > While porting the package to another arch, I noticed what I think may
> > be a small problem and this patch should fix:
>
> Right, I fixed this upstream some time ago, need to prepare a new
> release:
>
> <http://cgit.freedesktop.org/libbsd/commit/?id=1f0b0b23>
Great. Thanks.
And when you're at it, I dare to have one more wish :)
I'm cross-building libbsd for an embedded system, and I need the
symlink to _not_ point to the host installed lib, but to the
cross-built one (inside the installed directory tree). I hacked the
Makefile to do it:
- ln -sf $(libdir)/$(LIB_SHARED) $(DESTDIR)$(usrlibdir)/$(LIB_SHARED_SO)
+ ln -sf ../..$(libdir)/$(LIB_SHARED) $(DESTDIR)$(usrlibdir)/$(LIB_SHARED_SO)
but I'm convinced there's a better (although more intricate) way to do
it.
Cheers,
--
Cristian
Reply to: