From 7a272462dc13c893bfa43edf28d819d8b0cfc288 Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Mon, 5 Dec 2016 11:05:17 +0100 Subject: [PATCH 2/3] Revert "gbm: dlopen libglapi so gbm_create_device works" This reverts commit 828f13330c9384f2b55c8b0f962d93a74ecd0601. --- src/gbm/backends/dri/gbm_dri.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/gbm/backends/dri/gbm_dri.c b/src/gbm/backends/dri/gbm_dri.c index 45cb42a..c64214f 100644 --- a/src/gbm/backends/dri/gbm_dri.c +++ b/src/gbm/backends/dri/gbm_dri.c @@ -315,14 +315,6 @@ dri_open_driver(struct gbm_dri_device *dri) if (search_paths == NULL) search_paths = DEFAULT_DRIVER_DIR; - /* Temporarily work around dri driver libs that need symbols in libglapi - * but don't automatically link it in. - */ - /* XXX: Library name differs on per platforms basis. Update this as - * osx/cygwin/windows/bsd gets support for GBM.. - */ - dlopen("libglapi.so.0", RTLD_LAZY | RTLD_GLOBAL); - dri->driver = NULL; end = search_paths + strlen(search_paths); for (p = search_paths; p < end && dri->driver == NULL; p = next + 1) { -- 2.7.4