Ticket #38294: iglx.patch

File iglx.patch, 1.1 KB (added by zpeeters@…, 11 years ago)

Updates iglx.patch to include -lxcb-glx

  • (a) a/configs/darwin.orig vs. (b) b/configs/darwin

    a b  
    1313CXX = $(shell xcrun -find c++)
    1414PIC_FLAGS = -fPIC
    1515DEFINES =  -D_DARWIN_C_SOURCE -DPTHREADS -D_GNU_SOURCE \
    16            -DGLX_ALIAS_UNSUPPORTED \
    17            -DGLX_DIRECT_RENDERING -DGLX_USE_APPLEGL
     16           -DGLX_ALIAS_UNSUPPORTED -DGLX_INDIRECT_RENDERING
    1817
    1918# -DGLX_INDIRECT_RENDERING \
    2019
     
    4746OSMESA_LIB_GLOB = lib$(OSMESA_LIB).*dylib
    4847VG_LIB_GLOB = lib$(VG_LIB).*dylib
    4948
    50 GL_LIB_DEPS = -L$(INSTALL_DIR)/$(LIB_DIR) -L$(X11_DIR)/$(LIB_DIR) -lX11-xcb -lxcb -lX11 -lXext $(EXTRA_LDFLAGS)
     49GL_LIB_DEPS = -L$(INSTALL_DIR)/$(LIB_DIR) -L$(X11_DIR)/$(LIB_DIR) -lX11-xcb -lxcb -lxcb-glx -lX11 -lXext $(EXTRA_LDFLAGS)
    5150OSMESA_LIB_DEPS = $(EXTRA_LDFLAGS)
    5251GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) $(EXTRA_LDFLAGS)
    5352GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -L$(INSTALL_DIR)/$(LIB_DIR) -L$(X11_DIR)/$(LIB_DIR) -lX11 -lXt $(EXTRA_LDFLAGS)
    5453
    55 SRC_DIRS = glsl mapi/glapi mapi/vgapi glx/apple mesa gallium glu
     54SRC_DIRS = glsl mapi/glapi mapi/vgapi glx mesa gallium glu
    5655GLU_DIRS = sgi
    5756DRIVER_DIRS = osmesa
    5857#DRIVER_DIRS = dri