aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorJean-Luc Lamadon <jean-luc.lamadon@nokia.com>2010-06-18 23:49:31 +0300
committerJean-Luc Lamadon <jean-luc.lamadon@nokia.com>2010-06-18 23:49:31 +0300
commit683e435c55cec35be14c87c6e53070edc5124acb (patch)
tree64e39396622b7b010fad520685848ada666028b0 /debian
parent460f09e279dd8c7d714331115fc10e01bdd03a09 (diff)
Scratchbox sanitization
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rules12
1 files changed, 8 insertions, 4 deletions
diff --git a/debian/rules b/debian/rules
index 980beb89..68783aa4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,10 +4,14 @@
#export DH_VERBOSE=1
# Sanitize build environment when running inside Scratchbox 1
-#ifneq (,$(wildcard /targets))
-# export SBOX_REDIRECT_TO_DIRS=
-# export PATH=/scratchbox/compilers/bin:/bin:/usr/bin:/scratchbox/tools/bin
-#endif
+ifneq (,$(wildcard /targets))
+ export SBOX_REDIRECT_IGNORE=/usr/bin/automake:/usr/bin/autoreconf:/usr/bin/aclocal:/usr/bin/autoconf:/usr/bin/autom4te:/usr/bin/m4:/usr/bin/libtoolize:/usr/bin/autoreconf
+ export AUTOMAKE=/usr/bin/automake
+ export ACLOCAL=/usr/bin/aclocal
+ export AUTOCONF=/usr/bin/autoconf
+ export AUTORECONF=/usr/bin/autoreconf
+ export LIBTOOLIZE=/usr/bin/libtoolize
+endif
LDFLAGS+=-Wl,--as-needed