build.sh: use setRpath and remove run.sh

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-02-17 23:06:43 -08:00
parent 26f03be236
commit 86274b603e
3 changed files with 3 additions and 4 deletions

View file

@ -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
~~~~~~~~~~~~~~~~~

View file

@ -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

View file

@ -1,2 +0,0 @@
#!/bin/bash
LD_LIBRARY_PATH=install/lib:$LD_LIBRARY_PATH ./subsurface/subsurface