Skip to content

Commit

Permalink
Merge pull request #636 from omissis/master
Browse files Browse the repository at this point in the history
Fix libtoolize name to compile on Mac OS X
  • Loading branch information
Phalcon committed May 14, 2013
2 parents 6e549d2 + 4007bf5 commit 2faa826
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion build/install
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,13 @@ if [ -f Makefile ]; then
phpize --clean
fi

LIBTOOLIZE_BIN="libtoolize"

#GNU 'libtoolize' on MAC OS X is called 'glibtoolize'
if [ `(uname -s) 2>/dev/null` == 'Darwin' ]
then
LIBTOOLIZE_BIN="glibtoolize"
fi

#Perform the compilation
phpize && aclocal && libtoolize --force && autoheader && autoconf && ./configure --enable-phalcon && make && make install && echo -e "\nThanks for compiling Phalcon!\nBuild succeed: Please restart your web server to complete the installation"
phpize && aclocal && $LIBTOOLIZE_BIN --force && autoheader && autoconf && ./configure --enable-phalcon && make && make install && echo -e "\nThanks for compiling Phalcon!\nBuild succeed: Please restart your web server to complete the installation"

0 comments on commit 2faa826

Please sign in to comment.