[pitivi] build: Make sure to have LD_LIBRARY_PATH set in the build env



commit 11ad8f7098f35a02b7e6bb5dcd4ec5a052baa3f4
Author: Thibault Saunier <tsaunier gnome org>
Date:   Wed May 25 17:18:48 2016 -0400

    build: Make sure to have LD_LIBRARY_PATH set in the build env
    
    Fixing the following issue:
    
    ```
    GLib.Error: g-invoke-error-quark: Could not locate ges_init_check:
    libges-1.0.so.0: cannot open shared object file: No such file or
    directory (1)
    ```

 build/flatpak/enter-env |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/build/flatpak/enter-env b/build/flatpak/enter-env
index d528030..ab42424 100755
--- a/build/flatpak/enter-env
+++ b/build/flatpak/enter-env
@@ -10,6 +10,9 @@ function generate_path_and_completion_calls {
 
 RCFILE=$PITIVI_DIR/.bashrc
 cp ~/.bashrc $RCFILE
+export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/app/lib/
+
+echo "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/app/lib/" >> $RCFILE
 echo "export PS1=[ptv]\ \$PS1" >> $RCFILE
 echo "export PITIVI_DEVELOPMENT=1" >> $RCFILE
 generate_path_and_completion_calls >> $RCFILE


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