From: Mark Sibly Date: Tue, 10 Jun 2014 01:39:44 +0000 (+1200) Subject: Added rpath=$ORIGIN to bmk. X-Git-Tag: v151~18 X-Git-Url: https://jcornell.net/gitweb/gitweb.cgi?a=commitdiff_plain;h=eb8be5e5893d4689ea56ac94b0446a4de1174c22;p=blitzmax.git Added rpath=$ORIGIN to bmk. --- diff --git a/src/bmk/bmk_util.bmx b/src/bmk/bmk_util.bmx index 0e1274b..ad65bee 100644 --- a/src/bmk/bmk_util.bmx +++ b/src/bmk/bmk_util.bmx @@ -331,6 +331,7 @@ Function LinkApp( path$,lnk_files:TList,makelib ) cmd:+" -m32 -s -Os -pthread" cmd:+" -o "+CQuote( path ) cmd:+" "+CQuote( tmpfile ) + cmd:+" -Wl,-rpath='$ORIGIN'" cmd:+" -L/usr/lib32" cmd:+" -L/usr/X11R6/lib" cmd:+" -L/usr/lib"