Skip to content

Commit

Permalink
Fix check for zstd support
Browse files Browse the repository at this point in the history
  • Loading branch information
bapt committed Mar 9, 2020
1 parent 93c4c82 commit f45bf67
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions auto.def
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ cc-with { -libs { -llzma }} {
}
}

cc-with { -libs { -larchive }} {
cc-check-functions archive_write_add_filter_zstd
}

define ZSTDLIB ""
cc-with { -libs { -lprivatezstd }} {
if {[cc-check-functions ZSTD_versionNumber]} {
Expand Down

0 comments on commit f45bf67

Please sign in to comment.