Skip to content

Commit 1233942

Browse files
authored
Merge pull request #24 from elvisdukaj/edukaj/bugfix/fix_build_on_macos
bugfix: on macos libtoolize is called glibtoolize
2 parents 3c9aa25 + d8b46c4 commit 1233942

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

depends/check-dependencies.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,11 @@ check_program cmake
7878
check_program gcc
7979
check_program g++
8080

81-
check_program libtoolize
81+
if [ "$(uname)" != "Darwin" ]; then
82+
check_program libtoolize
83+
else
84+
check_program glibtoolize
85+
fi
8286

8387
if [ ${#missing_depends[@]} -ne 0 ]; then
8488
echo "Couldn't find dependencies:"

0 commit comments

Comments
 (0)