From eb8be5e5893d4689ea56ac94b0446a4de1174c22 Mon Sep 17 00:00:00 2001 From: Mark Sibly Date: Tue, 10 Jun 2014 13:39:44 +1200 Subject: [PATCH] Added rpath=$ORIGIN to bmk. --- src/bmk/bmk_util.bmx | 1 + 1 file changed, 1 insertion(+) 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" -- 2.30.2