Skip to content

Commit 19851ad

Browse files
committed
Use libasound2t64 on heroku-24
1 parent e94f793 commit 19851ad

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

bin/compile

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ install_system_deps() {
3535
libnspr4
3636
libnss3
3737
libxss1
38-
libasound2
3938
fonts-noto-color-emoji
4039
libgbm1
4140
libatk-bridge2.0-0
@@ -44,6 +43,17 @@ libxrandr2
4443
libatspi2.0-0
4544
libxshmfence-dev
4645
EOF
46+
47+
# If stack is heroku-24, install libasound2t64
48+
if [[ "$STACK" == "heroku-24" ]]; then
49+
cat << EOF >>$build_tmpdir/Aptfile
50+
libasound2t64
51+
EOF
52+
else
53+
cat << EOF >>$build_tmpdir/Aptfile
54+
libasound2
55+
EOF
56+
fi
4757
fi
4858

4959
if [[ "$SUPPORTED_BROWSERS" == *"firefox"* ]]; then

0 commit comments

Comments
 (0)