1
0
Fork 0

Check if SODIUM_LIBRARY_VERSION is defined

pull/9702/head
brandonkelly 2021-02-16 12:51:14 -08:00
parent d3ba447b79
commit 62af444821
1 changed files with 3 additions and 1 deletions

View File

@ -402,7 +402,9 @@ class PlatformRepository extends ArrayRepository
case 'libsodium':
case 'sodium':
if ($this->runtime->hasConstant('SODIUM_LIBRARY_VERSION')) {
$this->addLibrary('libsodium', $this->runtime->getConstant('SODIUM_LIBRARY_VERSION'));
}
break;
case 'sqlite3':