From 4381ebfe7f32bf4b1c49b272356496739ed06da0 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Sun, 10 Sep 2017 15:51:19 +0200 Subject: [PATCH] Do not automatically set RPATH to installation target (for building packages). --- build.sh | 18 ++++++++++++++++-- src/klayout.pri | 4 +++- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index 82b4565d6..7912fb492 100755 --- a/build.sh +++ b/build.sh @@ -39,6 +39,7 @@ RUBY="" PYTHON="" BUILD="" BIN="" +RPATH="" MAKE_OPT="" @@ -124,6 +125,10 @@ while [ "$*" != "" ]; do BIN="$1" shift ;; + -rpath) + RPATH="$1" + shift + ;; -qt4) HAVE_QT5=0 ;; @@ -150,6 +155,7 @@ while [ "$*" != "" ]; do echo " -python Use Python interpreter 'prog'" echo " -build Directory where to do the build" echo " -bin|-prefix Directory where to install the binary" + echo " -rpath Specifies the RPATH to use (default: same as -bin)" echo " -option