From 86274b603e6e18e8bfa5921a062ad6365d18af97 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 17 Feb 2015 23:06:43 -0800 Subject: [PATCH] build.sh: use setRpath and remove run.sh Signed-off-by: Dirk Hohndel --- INSTALL | 3 ++- scripts/build.sh | 2 +- scripts/run.sh | 2 -- 3 files changed, 3 insertions(+), 4 deletions(-) delete mode 100755 scripts/run.sh diff --git a/INSTALL b/INSTALL index bbda32e12..c0bb7882a 100644 --- a/INSTALL +++ b/INSTALL @@ -123,7 +123,8 @@ git clone -b v4.4.1 git://subsurface-divelog.org/subsurface Now you can run Subsurface like this: -./subsurface/scripts/run.sh +cd ~/src/subsurface +./subsurface 2. the harder way ~~~~~~~~~~~~~~~~~ diff --git a/scripts/build.sh b/scripts/build.sh index 14f235a29..9ea0f4f76 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -97,6 +97,6 @@ make -j4 make install cd $SRC/subsurface -$QMAKE LIBDCDEVEL=1 LIBMARBLEDEVEL=$SRC/install SPECIAL_MARBLE_PREFIX=1 LIBGIT2DEVEL=$SRC/libgit2 subsurface.pro +$QMAKE CONFIG+=setRpath LIBDCDEVEL=1 LIBMARBLEDEVEL=$SRC/install SPECIAL_MARBLE_PREFIX=1 LIBGIT2DEVEL=$SRC/libgit2 subsurface.pro make -j4 diff --git a/scripts/run.sh b/scripts/run.sh deleted file mode 100755 index 6e0e0d1e9..000000000 --- a/scripts/run.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -LD_LIBRARY_PATH=install/lib:$LD_LIBRARY_PATH ./subsurface/subsurface