Merge pull request #9702 from brandonkelly/sodium
Check if SODIUM_LIBRARY_VERSION is definedpull/9706/head
commit
6f392ae198
|
@ -402,7 +402,9 @@ class PlatformRepository extends ArrayRepository
|
|||
|
||||
case 'libsodium':
|
||||
case 'sodium':
|
||||
$this->addLibrary('libsodium', $this->runtime->getConstant('SODIUM_LIBRARY_VERSION'));
|
||||
if ($this->runtime->hasConstant('SODIUM_LIBRARY_VERSION')) {
|
||||
$this->addLibrary('libsodium', $this->runtime->getConstant('SODIUM_LIBRARY_VERSION'));
|
||||
}
|
||||
break;
|
||||
|
||||
case 'sqlite3':
|
||||
|
|
Loading…
Reference in New Issue