• Lyude Paul's avatar
    meson: Ensure we always build Xext/hashtable.c for glx · 4e28a6a2
    Lyude Paul authored
    Seems that while glxvnd relies on some of the hashtable functions in
    Xext, we only build hashtable support for Xext if we're also building
    the res extension. This leads to some errors if you try to build glx
    without res enabled:
    
    glx/liblibglxvnd.a(vndcmds.c.o): In function `LookupVendorPrivDispatch':
    /home/lyudess/Projects/xserver/glx/vndcmds.c:65: undefined reference to `ht_find'
    /home/lyudess/Projects/xserver/glx/vndcmds.c:67: undefined reference to `ht_add'
    glx/liblibglxvnd.a(vndcmds.c.o): In function `GlxDispatchInit':
    /home/lyudess/Projects/xserver/glx/vndcmds.c:405: undefined reference to `ht_generic_compare'
    /home/lyudess/Projects/xserver/glx/vndcmds.c:405: undefined reference to `ht_generic_hash'
    /home/lyudess/Projects/xserver/glx/vndcmds.c:405: undefined reference to `ht_create'
    glx/liblibglxvnd.a(vndcmds.c.o): In function `GlxDispatchReset':
    /home/lyudess/Projects/xserver/glx/vndcmds.c:468: undefined reference to `ht_destroy'
    collect2: error: ld returned 1 exit status
    ninja: build stopped: subcommand failed.
    
    So, make sure that hashtable.c gets both for both glx and res
    Reviewed-by: Adam Jackson's avatarAdam Jackson <ajax@redhat.com>
    Signed-off-by: Lyude Paul's avatarLyude Paul <lyude@redhat.com>
    4e28a6a2
Name
Last commit
Last update
..
Makefile.am Loading commit data...
bigreq.c Loading commit data...
dpms.c Loading commit data...
dpmsproc.h Loading commit data...
geext.c Loading commit data...
geext.h Loading commit data...
geint.h Loading commit data...
hashtable.c Loading commit data...
hashtable.h Loading commit data...
meson.build Loading commit data...
panoramiX.c Loading commit data...
panoramiX.h Loading commit data...
panoramiXSwap.c Loading commit data...
panoramiXh.h Loading commit data...
panoramiXprocs.c Loading commit data...
panoramiXsrv.h Loading commit data...
saver.c Loading commit data...
security.c Loading commit data...
securitysrv.h Loading commit data...
shape.c Loading commit data...
shm.c Loading commit data...
shmint.h Loading commit data...
sleepuntil.c Loading commit data...
sleepuntil.h Loading commit data...
sync.c Loading commit data...
syncsdk.h Loading commit data...
syncsrv.h Loading commit data...
vidmode.c Loading commit data...
xace.c Loading commit data...
xace.h Loading commit data...
xacestr.h Loading commit data...
xcmisc.c Loading commit data...
xf86bigfont.c Loading commit data...
xf86bigfontsrv.h Loading commit data...
xres.c Loading commit data...
xselinux.h Loading commit data...
xselinux_ext.c Loading commit data...
xselinux_hooks.c Loading commit data...
xselinux_label.c Loading commit data...
xselinuxint.h Loading commit data...
xtest.c Loading commit data...
xvdisp.c Loading commit data...
xvdisp.h Loading commit data...
xvdix.h Loading commit data...
xvmain.c Loading commit data...
xvmc.c Loading commit data...
xvmcext.h Loading commit data...