[gnome-builder] foundry: use old path after new path



commit 1a8019771e0e6c55cffbe09849aa29003b062fa5
Author: Christian Hergert <chergert redhat com>
Date:   Tue May 7 14:39:13 2019 -0700

    foundry: use old path after new path

 src/libide/foundry/ide-runtime.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libide/foundry/ide-runtime.c b/src/libide/foundry/ide-runtime.c
index 82b59cddc..38b5fc62b 100644
--- a/src/libide/foundry/ide-runtime.c
+++ b/src/libide/foundry/ide-runtime.c
@@ -258,7 +258,7 @@ ide_runtime_real_create_runner (IdeRuntime     *self,
               if (old_path != NULL)
                 {
                   g_autofree gchar *freeme = g_steal_pointer (&ld_library_path);
-                  ld_library_path = g_strdup_printf ("%s:%s", ld_library_path, freeme);
+                  ld_library_path = g_strdup_printf ("%s:%s", freeme, old_path);
                 }
 
               ide_environment_setenv (env, "LD_LIBRARY_PATH", ld_library_path);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]