diff options
author | Kristian Høgsberg <[email protected]> | 2014-01-29 11:40:25 -0800 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2014-01-29 12:58:13 -0800 |
commit | cbecd958a7e36736a4447ebe65e5017e5c0ea4a0 (patch) | |
tree | f826f9f122063736ae1f1524a74f6796f451ae38 /src/egl | |
parent | 7965908976cdd1476db0ee7258d182292f975800 (diff) |
build: Share the all-local rule for linking libraries into the build dir
This consolidates how we link the libraries into the build directory.
It works for lib_LTLIBRARIES but not custom shared libraries like DRI
drivers or gallium state trackers which needs special casing (cf dri
mega drivers, for example)
Signed-off-by: Kristian Høgsberg <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/egl')
-rw-r--r-- | src/egl/main/Makefile.am | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/egl/main/Makefile.am b/src/egl/main/Makefile.am index e12aeae59b9..4c20d1215ee 100644 --- a/src/egl/main/Makefile.am +++ b/src/egl/main/Makefile.am @@ -115,12 +115,7 @@ libEGL_la_LIBADD += ../drivers/dri2/libegl_dri2.la libEGL_la_LIBADD += $(DLOPEN_LIBS) $(LIBDRM_LIBS) endif -# Provide compatibility with scripts for the old Mesa build system for -# a while by putting a link to the driver into /lib of the build tree. -all-local: libEGL.la - $(MKDIR_P) $(top_builddir)/$(LIB_DIR); - ln -f .libs/libEGL.so.1.0.0 $(top_builddir)/$(LIB_DIR)/libEGL.so.1 - ln -sf libEGL.so.1 $(top_builddir)/$(LIB_DIR)/libEGL.so +include $(top_srcdir)/install-lib-links.mk pkgconfigdir = $(libdir)/pkgconfig |