Skip to content

Commit

Permalink
Made --enable-gd-native-ttf conditional depending on the PHP version
Browse files Browse the repository at this point in the history
  • Loading branch information
morozov committed Apr 3, 2018
1 parent af402a8 commit 8f62bbb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/PhpBrew/VariantBuilder.php
Expand Up @@ -427,7 +427,9 @@ public function __construct()
$opts[] = '--with-gd=shared';
}

$opts[] = '--enable-gd-native-ttf';
if ($build->compareVersion('5.5') < 0) {
$opts[] = '--enable-gd-native-ttf';
}

if ($prefix = Utils::findIncludePrefix('jpeglib.h')) {
$opts[] = "--with-jpeg-dir=$prefix";
Expand Down

0 comments on commit 8f62bbb

Please sign in to comment.