From cdb2a7374d1c0a674ed9795a2dccb0b661b067ca Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Wed, 12 Mar 2014 22:15:58 +0100 Subject: [PATCH] core: use glibtoolize on mac instead of libtoolize --- autogen.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/autogen.sh b/autogen.sh index 3cd0aac97..f4efb8a1a 100755 --- a/autogen.sh +++ b/autogen.sh @@ -71,7 +71,9 @@ run "mkdir intl" # execute autotools cmds run "autopoint -f" -run "libtoolize --automake --force --copy" +LIBTOOLIZE=libtoolize +test `uname` = "Darwin" && LIBTOOLIZE=glibtoolize +run "$LIBTOOLIZE --automake --force --copy" run "aclocal --force -I config/m4" run "autoheader" run "autoconf"