[gnome-documents] build: update debug launcher for private library move



commit 07c10c77613834deaa803961b0bf144dc25c9b62
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Dec 21 12:02:40 2011 +0100

    build: update debug launcher for private library move

 src/gnome-documents-debug.in |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/src/gnome-documents-debug.in b/src/gnome-documents-debug.in
index 61d2842..f7989cb 100644
--- a/src/gnome-documents-debug.in
+++ b/src/gnome-documents-debug.in
@@ -7,9 +7,15 @@ else
 fi
 
 if test x"$GI_TYPELIB_PATH" = x ; then
-    export GI_TYPELIB_PATH= libdir@/girepository-1.0
+    export GI_TYPELIB_PATH= pkglibdir@/girepository-1.0
 else
-    export GI_TYPELIB_PATH= libdir@/girepository-1.0:$GI_TYPELIB_PATH
+    export GI_TYPELIB_PATH= pkglibdir@/girepository-1.0:$GI_TYPELIB_PATH
+fi
+
+if test x"$LD_LIBRARY_PATH" = x ; then
+    export LD_LIBRARY_PATH= pkglibdir@
+else
+    export LD_LIBRARY_PATH= pkglibdir@:$LD_LIBRARY_PATH
 fi
 
 gdb --args @GJS_CONSOLE@ -I @pkgdatadir@/js -c "const Main = imports.main; Main.start();" "$@"



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