gbm: work around mesa linkage issue
Created by: fjhenigman
Mesa drivers such as i965_dri.so use symbols from libglapi but do not pull in libglapi (https://bugs.freedesktop.org/show_bug.cgi?id=57702) so dlopen libglapi before we need it.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Created by: fjhenigman
Mesa drivers such as i965_dri.so use symbols from libglapi but do not pull in libglapi (https://bugs.freedesktop.org/show_bug.cgi?id=57702) so dlopen libglapi before we need it.