mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 15:20:17 +01:00
mesa: Restore installing of libGL for non-dri builds.
Reported-by: Sven Joachim <svenjoac@gmx.de> Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
0ce0f7c0c8
commit
26eaee3245
1 changed files with 7 additions and 3 deletions
|
|
@ -166,8 +166,8 @@ install: default $(DRICORE_INSTALL_TARGET)
|
|||
else \
|
||||
$(MAKE) install-osmesa || exit 1 ; \
|
||||
fi ;; \
|
||||
dri) $(MAKE) install-libgl install-dri || exit 1 ;; \
|
||||
*) $(MAKE) install-libgl || exit 1 ;; \
|
||||
dri) $(MAKE) install-libgl-pc install-dri || exit 1 ;; \
|
||||
*) $(MAKE) install-libgl-pc install-libgl || exit 1 ;; \
|
||||
esac ; \
|
||||
done
|
||||
|
||||
|
|
@ -203,7 +203,11 @@ install-headers:
|
|||
$(INSTALL) -m 644 $(TOP)/include/GL/*.h \
|
||||
$(DESTDIR)$(INSTALL_INC_DIR)/GL
|
||||
|
||||
install-libgl: default gl.pc install-headers
|
||||
install-libgl: default
|
||||
$(MINSTALL) $(TOP)/$(LIB_DIR)/$(GL_LIB_GLOB) \
|
||||
$(DESTDIR)$(INSTALL_LIB_DIR)
|
||||
|
||||
install-libgl-pc: gl.pc install-headers
|
||||
$(INSTALL) -d $(DESTDIR)$(INSTALL_LIB_DIR)
|
||||
$(INSTALL) -d $(DESTDIR)$(INSTALL_LIB_DIR)/pkgconfig
|
||||
$(INSTALL) -m 644 gl.pc $(DESTDIR)$(INSTALL_LIB_DIR)/pkgconfig
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue