ecore_drm2: Fix linker problems

Accidentally used functions in the library directly instead of through
the sym_* dlsym looked-up variants.

Why this only caused problems in some installations may still be worth
investigating - we may be pulling in libdrm at link time from some
other library?
This commit is contained in:
Derek Foreman 2017-08-04 12:13:40 -05:00
parent 2221970fff
commit bc5ebd0a20
1 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ _drm2_device_modeset_capable(int fd)
int ret = EINA_TRUE;
drmModeRes *res;
res = drmModeGetResources(fd);
res = sym_drmModeGetResources(fd);
if (!res)
return EINA_FALSE;
@ -86,7 +86,7 @@ _drm2_device_modeset_capable(int fd)
res->count_encoders <= 0)
ret = EINA_FALSE;
drmModeFreeResources(res);
sym_drmModeFreeResources(res);
return ret;
}