Check if SODIUM_LIBRARY_VERSION is defined
parent
d3ba447b79
commit
62af444821
|
@ -402,7 +402,9 @@ class PlatformRepository extends ArrayRepository
|
||||||
|
|
||||||
case 'libsodium':
|
case 'libsodium':
|
||||||
case 'sodium':
|
case 'sodium':
|
||||||
|
if ($this->runtime->hasConstant('SODIUM_LIBRARY_VERSION')) {
|
||||||
$this->addLibrary('libsodium', $this->runtime->getConstant('SODIUM_LIBRARY_VERSION'));
|
$this->addLibrary('libsodium', $this->runtime->getConstant('SODIUM_LIBRARY_VERSION'));
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'sqlite3':
|
case 'sqlite3':
|
||||||
|
|
Loading…
Reference in New Issue