Skip to content

Commit

Permalink
fix cgo-helper.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
jstaf committed Jul 15, 2023
1 parent b91a989 commit 570bff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cgo-helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# are installed so this script is here to autodetect which webkit2gtk c headers
# we have access to

if [ "$CGO_ENABLED" -eq 0 ]; then
if [ -n "$CGO_ENABLED" ] && [ "$CGO_ENABLED" -eq 0 ]; then
exit 0
fi

Expand Down

0 comments on commit 570bff7

Please sign in to comment.