Add php-64bit package if the php version has 64bit ints, fixes #1506, fixes #1511

main
Jordi Boggiano 12 years ago
parent 5bac9ffaaa
commit 8904888a74

@ -38,6 +38,12 @@ class PlatformRepository extends ArrayRepository
$php->setDescription('The PHP interpreter');
parent::addPackage($php);
if (PHP_INT_SIZE === 8) {
$php64 = new CompletePackage('php-64bit', $version, $prettyVersion);
$php64->setDescription('The PHP interpreter (64bit)');
parent::addPackage($php64);
}
$loadedExtensions = get_loaded_extensions();
// Extensions scanning

Loading…
Cancel
Save