summaryrefslogtreecommitdiff
path: root/exec.sh
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-04-14 23:22:48 +0000
committerJay Freeman <saurik@saurik.com>2008-04-14 23:22:48 +0000
commit7817782b2837cf98f7566e13f80b9c071ff20139 (patch)
tree452a5677d990e0d9dc9c36ac08bd4204e447afc2 /exec.sh
parente615a71056dfae4f19dfef86331eb030494b79b7 (diff)
Fixed some dependencies, removed mDNS fix for 2.0, and factored for multi-arch support.
git-svn-id: http://svn.telesphoreo.org/trunk@218 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'exec.sh')
-rwxr-xr-xexec.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/exec.sh b/exec.sh
index be9d554aa..09eba9f9c 100755
--- a/exec.sh
+++ b/exec.sh
@@ -15,7 +15,9 @@ PKG_INCL=
PKG_LIBS=
PKG_PKGS=
-for dep in $(find -L "${PKG_DATA}"/_metadata -name '*.dep' | cut -d '/' -f - | sort -u); do
+for dep in $({
+ find -L "${PKG_DATA}"/_metadata -name '*.dep' | cut -d '/' -f -
+} | sort -u); do
DEP_NAME=$(basename "${dep}" .dep)
DEP_DEST=$(PKG_DEST_ "${DEP_NAME}")
PKG_PATH=${PKG_PATH}:${DEP_DEST}
@@ -47,5 +49,6 @@ CPLUS_INCLUDE_PATH= \
GCC_EXEC_PREFIX=${PKG_PFIX}/lib/gcc \
LD_LIBRARY_PATH=${PKG_LIBS} \
LIBRARY_PATH=${PKG_LIBS} \
+MIGCC=${PKG_TARG}-gcc \
PKG_CONFIG_PATH=${PKG_PKGS} \
"$@"