Skip to content

Commit 8919da7

Browse files
committed
try fix "Makefile.am:37: error: Libtool library used but 'LIBTOOL' is undefined"
1 parent 5b0d21b commit 8919da7

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

do-compile/apple/bluray.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,14 @@ if [[ -f 'configure' ]]; then
5151
echo "reuse configure"
5252
else
5353
echo "auto generate configure"
54-
./bootstrap >/dev/null
54+
if [[ "$(uname)" == "Darwin" ]]; then
55+
if command -v glibtoolize > /dev/null; then
56+
glibtoolize --force --copy
57+
elif command -v libtoolize > /dev/null; then
58+
libtoolize --force --copy
59+
fi
60+
fi
61+
./bootstrap
5562
fi
5663

5764
echo

0 commit comments

Comments
 (0)