mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-06 10:20:37 +01:00
Fix underlinking in libOSMesa since commit adefee5 "Always build shared glapi"
Since we now always build shared glapi, this exposes the fact that libOSMesa was underlinked when glapi was built shared. Fix this by doing the same thing as drivers/X11/Makefile already does, ensuring that the library is linked with the shared glapi library. (I'm not clear why we link with both glapi.a and glapi.so, so this may be all wrong) Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
This commit is contained in:
parent
0fce6d3a77
commit
4e5a8937d1
1 changed files with 2 additions and 0 deletions
|
|
@ -25,6 +25,8 @@ CORE_MESA = \
|
|||
$(TOP)/src/mapi/glapi/libglapi.a \
|
||||
$(TOP)/src/glsl/libglsl.a
|
||||
|
||||
OSMESA_LIB_DEPS := -L$(TOP)/$(LIB_DIR) -l$(GLAPI_LIB) $(OSMESA_LIB_DEPS)
|
||||
|
||||
.c.o:
|
||||
$(CC) -c $(INCLUDE_DIRS) $(CFLAGS) $< -o $@
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue