summaryrefslogtreecommitdiff
path: root/development/macosx/set_vars.sh
Side-by-side diff
Diffstat (limited to 'development/macosx/set_vars.sh') (more/less context) (ignore whitespace changes)
-rw-r--r--development/macosx/set_vars.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/development/macosx/set_vars.sh b/development/macosx/set_vars.sh
index 2138d63..9693820 100644
--- a/development/macosx/set_vars.sh
+++ b/development/macosx/set_vars.sh
@@ -2,7 +2,9 @@
unset LD_PREBIND
unset LD_PREBIND_ALLOW_OVERLAP
unset LD_SEG_ADDR_TABLE
-
+unset QMAKESPEC
+# Needed to activate Prebinding capababilites (since 10.2 and newer)
+MACOSX_DEPLOYMENT_TARGET=10.2
#Set Vars for QT 2.3.2
THISDIR=`pwd`
QTDIR=$THISDIR/qt-2.3.2
@@ -18,11 +20,15 @@ DYLD_LIBRARY_PATH="$QTDIR/lib":$DYLD_LIBRARY_PATH
OPIEDIR=$THISDIR/opie
DYLD_LIBRARY_PATH="$OPIEDIR/lib":$DYLD_LIBRARY_PATH
+#Set special compiler
+# PATH=$OPIEDIR/../tools/bin:$PATH
+# DYLD_LIBRARY_PATH=$OPIEDIR/../tools/bin:$DYLD_LIBRARY_PATH
+
#Show special environment
PS1='\u:(QT):\w\$ '
-export QTDIR QPEDIR OPIEDIR PATH DYLD_LIBRARY_PATH PS1
+export QTDIR QPEDIR OPIEDIR PATH DYLD_LIBRARY_PATH PS1 MACOSX_DEPLAYMENT_TARGET
# Now start virtual framebuffer device..
qvfb -depth 16 & \ No newline at end of file