summaryrefslogtreecommitdiff
path: root/exec.sh
diff options
context:
space:
mode:
Diffstat (limited to 'exec.sh')
-rwxr-xr-xexec.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/exec.sh b/exec.sh
index cbaecaa23..3810f8e65 100755
--- a/exec.sh
+++ b/exec.sh
@@ -16,6 +16,12 @@ PKG_INCL=
PKG_LIBS=
PKG_PKGS=
+if [[ -n ${FAKEROOTKEY} ]]; then
+ for i in "$(dirname $(which fakeroot))"/../lib{64,32,}/libfakeroot; do
+ PKG_LIBS=$i:${PKG_LIBS}
+ done
+fi
+
case "${PKG_NAME}" in
(-) deps=();;
(:*) deps=(${PKG_NAME//:/ });;