5 if [ x$1 = 'xclean' ]; then
9 rm -rf $OBJROOT/libxslt/
14 if [ ! -f config.log ]; then
16 ./configure --disable-static --enable-shared --with-libxml-prefix=$OBJROOT/libxml2/ --prefix=$OBJROOT/libxslt/
20 if [ ! -d $OBJROOT/libxslt/ ]; then
24 LIBNAME=`find $OBJROOT/libxslt/lib/ -name "libxslt.*dylib" -type f`
25 LIBNAME=`basename $LIBNAME`
26 install_name_tool -id @executable_path/$LIBNAME $OBJROOT/libxslt/lib/$LIBNAME
28 LIBNAME=`find $OBJROOT/libxslt/lib/ -name "libexslt.*dylib" -type f`
29 LIBNAME=`basename $LIBNAME`
30 install_name_tool -id @executable_path/$LIBNAME $OBJROOT/libxslt/lib/$LIBNAME
32 LIBNAME=`find $OBJROOT/libxslt/lib/ -name "libxsltbreakpoint.*dylib" -type f`
33 LIBNAME=`basename $LIBNAME`
34 install_name_tool -id @executable_path/$LIBNAME $OBJROOT/libxslt/lib/$LIBNAME