summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2/ecore_drm2_device.c
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2017-08-04 12:13:40 -0500
committerDerek Foreman <derekf@osg.samsung.com>2017-08-04 12:13:40 -0500
commitbc5ebd0a20ea656c5cd232b2a130140ad1d9d927 (patch)
treed672aa594be483bdb702d1cd3d9fdee2ee3849cf /src/lib/ecore_drm2/ecore_drm2_device.c
parent2221970fff3046102f31b4c691be887886416b80 (diff)
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?
Diffstat (limited to 'src/lib/ecore_drm2/ecore_drm2_device.c')
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_device.c b/src/lib/ecore_drm2/ecore_drm2_device.c
index 446230edb9..3545d1a299 100644
--- a/src/lib/ecore_drm2/ecore_drm2_device.c
+++ b/src/lib/ecore_drm2/ecore_drm2_device.c
@@ -77,7 +77,7 @@ _drm2_device_modeset_capable(int fd)
77 int ret = EINA_TRUE; 77 int ret = EINA_TRUE;
78 drmModeRes *res; 78 drmModeRes *res;
79 79
80 res = drmModeGetResources(fd); 80 res = sym_drmModeGetResources(fd);
81 if (!res) 81 if (!res)
82 return EINA_FALSE; 82 return EINA_FALSE;
83 83
@@ -86,7 +86,7 @@ _drm2_device_modeset_capable(int fd)
86 res->count_encoders <= 0) 86 res->count_encoders <= 0)
87 ret = EINA_FALSE; 87 ret = EINA_FALSE;
88 88
89 drmModeFreeResources(res); 89 sym_drmModeFreeResources(res);
90 90
91 return ret; 91 return ret;
92} 92}