darwin: Fix install name of libOSMesa
authorJeremy Huddleston Sequoia <jeremyhu@apple.com>
Wed, 11 Feb 2015 10:32:33 +0000 (02:32 -0800)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 20 May 2015 20:56:32 +0000 (21:56 +0100)
Passing -module to glibtool causes the resulting library to be called
libSomething.so rather than libSomething.dylib on darwin.

Regardless if libOSMesa is a library or a module, it has been used as
the former for quite some time. Update the build to reflect that and
resolve the naming issue.

Cc: "10.5 10.6" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
[Emil Velikov: Tweak the commit message.]
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
src/mesa/drivers/osmesa/Makefile.am

index 9a388d64cd5c2bead8d64d147c47e608d312d399..46332e16bd1b22f1e15939e0dc92f053a80bc2c3 100644 (file)
@@ -39,7 +39,6 @@ nodist_EXTRA_lib@OSMESA_LIB@_la_SOURCES = dummy.cpp
 lib@OSMESA_LIB@_la_SOURCES = osmesa.c
 
 lib@OSMESA_LIB@_la_LDFLAGS = \
-       -module \
        -no-undefined \
        -version-number @OSMESA_VERSION@ \
        $(GC_SECTIONS) \