mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 15:58:05 +02:00
winsys/drm: Handle circular dependencies in Makefile.egl.
The libraries have circular dependencies. Use --start-group and --end-group when producing the final shared libraries.
This commit is contained in:
parent
1f92cf55e1
commit
9a8342ebcd
1 changed files with 4 additions and 2 deletions
|
|
@ -39,8 +39,10 @@ $(EGL_DISPLAY_LIBS): $(TOP)/$(LIB_DIR)/%.so: %.so
|
|||
|
||||
define mklib-egl
|
||||
$(MKLIB) -o $@ -noprefix -linker '$(CC)' -ldflags '$(LDFLAGS)' \
|
||||
$(MKLIB_OPTIONS) $(EGL_DRIVER_OBJECTS) $($(1)_ST) \
|
||||
$(EGL_DRIVER_PIPES) $(GALLIUM_AUXILIARIES) $($(1)_LIBS) $(EGL_DRIVER_LIBS)
|
||||
$(MKLIB_OPTIONS) $(EGL_DRIVER_OBJECTS) \
|
||||
-Wl,--start-group $($(1)_ST) $(EGL_DRIVER_PIPES) \
|
||||
$(GALLIUM_AUXILIARIES) -Wl,--end-group \
|
||||
$($(1)_LIBS) $(EGL_DRIVER_LIBS)
|
||||
endef
|
||||
|
||||
egl_x11_$(EGL_DRIVER_NAME).so: $(EGL_DRIVER_OBJECTS) $(x11_ST) $(EGL_DRIVER_PIPES) $(GALLIUM_AUXILIARIES) Makefile
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue