ddc - support latest major version

devs/bu5hm4n/pointer-fix
Carsten Haitzler 1 year ago
parent 8927930002
commit a197e3c1db
  1. 4
      src/bin/system/e_system_ddc.c

@ -306,7 +306,9 @@ _ddc_init(void)
{
// .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);
ddc_lib = dlopen("libddcutil.so.4", RTLD_NOW | RTLD_LOCAL);
if (!ddc_lib)
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;

Loading…
Cancel
Save