raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=a197e3c1db3ec36da6a5445d2a54f58cfd5053d5

commit a197e3c1db3ec36da6a5445d2a54f58cfd5053d5
Author: Carsten Haitzler <ras...@rasterman.com>
Date:   Sun Jul 4 10:05:50 2021 +0100

    ddc - support latest major version
---
 src/bin/system/e_system_ddc.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/bin/system/e_system_ddc.c b/src/bin/system/e_system_ddc.c
index c84d37d07..25e65521b 100644
--- a/src/bin/system/e_system_ddc.c
+++ b/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;

-- 


Reply via email to