diff options
author | Emil Velikov <[email protected]> | 2014-03-11 11:50:37 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-03-11 12:50:44 +0000 |
commit | a6efbac9fb502c4f0166e7a0680b6828e1f6926c (patch) | |
tree | a484f4dce0dd0691a9c5d53a62dceb0d009a3666 /src/mesa | |
parent | 065b6ca52b6a34b1fa6713f41641738401e47710 (diff) |
automake: allow only shared builds
Static and shared builds were possible in the good old days
of static makefiles. Currently the build system does not
distinguish nor does anything special when one requests a
static build.
Print a warning message for the packager that static builds
are not supported and continue building shared libs.
Currently only Debian and derivatives use static build, and
they use it for building a Xlib powered libGL. This patch
will only change the warning message they are seeing but
the binaries produced will be identical.
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Jon TURNEY <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/osmesa/Makefile.am | 2 | ||||
-rw-r--r-- | src/mesa/drivers/x11/Makefile.am | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/drivers/osmesa/Makefile.am b/src/mesa/drivers/osmesa/Makefile.am index e18b735db7b..bc1244f52e9 100644 --- a/src/mesa/drivers/osmesa/Makefile.am +++ b/src/mesa/drivers/osmesa/Makefile.am @@ -47,9 +47,7 @@ lib@OSMESA_LIB@_la_LIBADD = \ $(SHARED_GLAPI_LIB) \ $(OSMESA_LIB_DEPS) -if BUILD_SHARED include $(top_srcdir)/install-lib-links.mk -endif pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = osmesa.pc diff --git a/src/mesa/drivers/x11/Makefile.am b/src/mesa/drivers/x11/Makefile.am index 3f3a24b4eab..b10e86f534a 100644 --- a/src/mesa/drivers/x11/Makefile.am +++ b/src/mesa/drivers/x11/Makefile.am @@ -64,6 +64,4 @@ lib@GL_LIB@_la_LDFLAGS = \ -no-undefined \ $(GL_LIB_DEPS) -if BUILD_SHARED include $(top_srcdir)/install-lib-links.mk -endif |