diff options
| author | Tristan Riehs <tristan.riehs@inria.fr> | 2026-08-04 22:59:12 +0200 |
|---|---|---|
| committer | Tristan Riehs <tristan.riehs@inria.fr> | 2026-08-04 22:59:12 +0200 |
| commit | 733aaa70aaf4e245809a46faef50910f0732d4c7 (patch) | |
| tree | a12564cfb67fc73d54686a33d2a5c809eda18500 /src/disp.c | |
| parent | 8563469f189dc3fb79feee02833cc5913c8ee96e (diff) | |
Update display libraries lookup
Diffstat (limited to 'src/disp.c')
| -rw-r--r-- | src/disp.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -86,10 +86,11 @@ get_disp(char *disp_name) { #ifndef NDEBUG /* displays are shared libraries */ - char so_path[64] = {0}; - strcpy(so_path, "./src/.libs/"); + char so_path[128]; + strcpy(so_path, CALCULER_PREFIX); + strcat(so_path, "/lib/calculer/lib"); strcat(so_path, disp_name); - strcat(so_path, ".so.0.0.0"); + strcat(so_path, ".so"); struct disp *disp = malloc(sizeof(*disp)); disp->so_path = strdup(so_path); disp->name = disp_name; |
