TBBKERNEL='cc4.1.0_libc2.4_kernel2.6.16.21'
LOCAL_INCLUDES="-I$TBBHOME/include"
if test "x$TBBHOME" != "x/usr"; then
+ INTEL_LOCAL_LIB=""
if test `uname -m` = "x86_64" ; then
- LOCAL_LIBS="-L$TBBHOME/lib/intel64/$TBBKERNEL $LOCAL_LIBS"
+ INTEL_LOCAL_LIB="$TBBHOME/lib/intel64/$TBBKERNEL"
else
- LOCAL_LIBS="-L$TBBHOME/lib/ia32/$TBBKERNEL $LOCAL_LIBS"
+ INTEL_LOCAL_LIB="$TBBHOME/lib/ia32/$TBBKERNEL"
fi
+ if test -z ${INTEL_LOCAL_LIB}; then
+ LOCAL_LIBS="-L${INTEL_LOCAL_LIB} $LOCAL_LIBS"
+ else
+ LOCAL_LIBS="-L${TBBHOME}/lib $LOCAL_LIBS"
+ fi
fi
fi