[Mesa-dev] [PATCH] Fix symlinking of libraries in /lib on non-Linux systems

Jonathan Gray jsg at jsg.id.au
Wed Jun 26 06:10:24 PDT 2013


On Wed, Jun 26, 2013 at 02:39:40PM +0200, Jean-Sébastien Pédron wrote:
> On 26.06.2013 14:37, Jean-Sébastien Pédron wrote:
> > Makefiles were explicitly looking for a libraries suffixed with the full
> > libtool versioning, such as "libglapi.so.0.0.0". However, on some
> > systems (at least FreeBSD and OpenBSD), libtool only uses a shorter
> > name, such as "libglapi.so.0".
> 
> Always better with the patch attached...
> 
> -- 
> Jean-Sébastien Pédron

> From 72a4a551010634956daf6c9df528b4ec1aa26445 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Jean-S=C3=A9bastien=20P=C3=A9dron?= <dumbbell at FreeBSD.org>
> Date: Wed, 5 Jun 2013 13:30:06 +0200
> Subject: [PATCH 2/9] Fix symlinking of libraries in /lib on non-Linux systems
> 
> Makefiles were explicitly looking for a libraries suffixed with the full
> libtool versioning, such as "libglapi.so.0.0.0". However, on some
> systems, libtool only uses a shorter name, such as "libglapi.so.0".
> 
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=63269

This misses a few places see
http://marc.info/?l=mesa3d-dev&m=137179411405480&w=2

namely

src/gbm/Makefile.am
src/mapi/es1api/Makefile.am
src/mapi/es2api/Makefile.am
src/mapi/vgapi/Makefile.am

In your above example "libglapi.so.0" would not exist on OpenBSD
only "libglapi.so.0.0"


More information about the mesa-dev mailing list