mirror of
https://github.com/recp/cglm.git
synced 2026-11-20 10:43:09 -06:00
build: improve calling libtoolize
This commit is contained in:
1 parent
016c0a71a6
commit
22b699174c
1 file changed
+7
-10
+7
-10
@@ -8,17 +8,14 @@
|
|||||||
|
|
||||||
cd $(dirname "$0")
|
cd $(dirname "$0")
|
||||||
|
|
||||||
if [ "$(uname)" = "Darwin" ]; then
|
|
||||||
libtoolBin=$(which glibtoolize)
|
|
||||||
libtoolBinDir=$(dirname "${libtoolBin}")
|
|
||||||
|
|
||||||
if [ ! -f "${libtoolBinDir}/libtoolize" ]; then
|
|
||||||
ln -s $libtoolBin "${libtoolBinDir}/libtoolize"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
autoheader
|
autoheader
|
||||||
libtoolize
|
|
||||||
|
if [ "$(uname)" = "Darwin" ]; then
|
||||||
|
glibtoolize
|
||||||
|
else
|
||||||
|
libtoolize
|
||||||
|
fi
|
||||||
|
|
||||||
aclocal -I m4
|
aclocal -I m4
|
||||||
autoconf
|
autoconf
|
||||||
automake --add-missing --copy
|
automake --add-missing --copy
|
||||||
Reference in new issue
Block a user