kjdev / php-ext-zstd

Zstd Extension for PHP
MIT License
201 stars 27 forks source link

Issue syslib #7

Closed remicollet closed 6 years ago

remicollet commented 6 years ago

Tested with libzstd 1.3.3 (in Fedora / EPEL repository)

Tests passed    :   11 (100.0%) (100.0%)

I only implement library search using pkg-config, which IMHO is the cleanest way.

remicollet commented 6 years ago

Notice

  if $PKG_CONFIG libzstd --atleast-version 1; then 

As I don't know which versions are really supported, I only test for 1.x (I have run test build + test suite with 1.3.0, 1.3.2 and 1.3.3), so feel free to bump this value.

kjdev commented 6 years ago

Thanks.