Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 11678e5

Browse files
committed
don't require our custom sdl2 packages on x11 targets
1 parent 79b22fb commit 11678e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scriptmodules/helpers.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ function getDepends() {
122122
packages+=("$required")
123123
continue
124124
fi
125-
if [[ "$required" == "libsdl2-dev" ]] && ! hasPackage libsdl2-dev $(get_ver_sdl2); then
125+
if ! isPlatform "x11" && [[ "$required" == "libsdl2-dev" ]] && ! hasPackage libsdl2-dev $(get_ver_sdl2); then
126126
packages+=("$required")
127127
continue
128128
fi

0 commit comments

Comments
 (0)