Skip to content

Commit

Permalink
Fix bootstap command to run on macOS
Browse files Browse the repository at this point in the history
Add verification to call glibtoolize instead libtoolize if running
on macOS.
  • Loading branch information
alla3 authored and cktakahasi committed Apr 2, 2019
1 parent 933fa3a commit ad8fa46
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions bootstrap
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
#!/bin/sh

case `uname` in
Darwin*) cmd_libtool="glibtoolize --automake --copy --force" ;;
*) cmd_libtool="libtoolize --automake --copy --force"
esac

aclocal && \
autoheader && \
libtoolize --automake --copy --force && \
${cmd_libtool} && \
automake --add-missing --copy && \
autoconf

0 comments on commit ad8fa46

Please sign in to comment.