forked from enlightenment/enlightenment
ddc - add libddcutil.so.3 as supported as it is compatible for our uses
This commit is contained in:
parent
d32ab7e33d
commit
ead43c40c3
|
@ -302,7 +302,11 @@ err:
|
|||
static Eina_Bool
|
||||
_ddc_init(void)
|
||||
{
|
||||
ddc_lib = dlopen("libddcutil.so.2", RTLD_NOW | RTLD_LOCAL);
|
||||
// .so.3 is ABI compatible twith .so.2 for out uses - see
|
||||
// https://www.ddcutil.com/c_api_99/ for changes between them
|
||||
ddc_lib = dlopen("libddcutil.so.3", RTLD_NOW | RTLD_LOCAL);
|
||||
if (!ddc_lib)
|
||||
ddc_lib = dlopen("libddcutil.so.2", RTLD_NOW | RTLD_LOCAL);
|
||||
if (!ddc_lib) return EINA_FALSE;
|
||||
#define SYM(_x) \
|
||||
do { \
|
||||
|
|
Loading…
Reference in New Issue