Mesa (master): darwin: Fix install name of libOSMesa

Emil Velikov evelikov at kemper.freedesktop.org
Wed May 20 20:54:55 UTC 2015


Module: Mesa
Branch: master
Commit: 06ff751f97fbeb62a23936cd8f9c54733920d082
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=06ff751f97fbeb62a23936cd8f9c54733920d082

Author: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
Date:   Wed Feb 11 02:32:33 2015 -0800

darwin: Fix install name of libOSMesa

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 at lists.freedesktop.org>
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
[Emil Velikov: Tweak the commit message.]
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>

---

 src/mesa/drivers/osmesa/Makefile.am |    1 -
 1 file changed, 1 deletion(-)

diff --git a/src/mesa/drivers/osmesa/Makefile.am b/src/mesa/drivers/osmesa/Makefile.am
index 9a388d6..46332e1 100644
--- a/src/mesa/drivers/osmesa/Makefile.am
+++ b/src/mesa/drivers/osmesa/Makefile.am
@@ -39,7 +39,6 @@ nodist_EXTRA_lib at OSMESA_LIB@_la_SOURCES = dummy.cpp
 lib at OSMESA_LIB@_la_SOURCES = osmesa.c
 
 lib at OSMESA_LIB@_la_LDFLAGS = \
-	-module \
 	-no-undefined \
 	-version-number @OSMESA_VERSION@ \
 	$(GC_SECTIONS) \




More information about the mesa-commit mailing list