Skip to content

Commit c81da11

Browse files
authored
frankenphp: build the Mercure hub with its 0.x compatibility tags (#1240)
2 parents a488606 + 3388672 commit c81da11

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/Package/Target/php/frankenphp.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public function buildFrankenphpForUnix(TargetPackage $package, PackageInstaller
144144
'-X \'github.com/caddyserver/caddy/v2.CustomBinaryName=frankenphp\' ' .
145145
'-X \'github.com/caddyserver/caddy/v2.CustomVersion=FrankenPHP ' .
146146
"v{$frankenphp_version} PHP {$libphp_version} Caddy'\\\" " .
147-
"-tags={$muslTags}nobadger,nomysql,nopgx{$no_brotli}{$no_watcher}",
147+
"-tags={$muslTags}nobadger,nomysql,nopgx,deprecated_topic,deprecated_claim{$no_brotli}{$no_watcher}",
148148
'LD_LIBRARY_PATH' => BUILD_LIB_PATH,
149149
];
150150
InteractiveTerm::setMessage('Building frankenphp: ' . ConsoleColor::yellow('building with xcaddy'));
@@ -303,7 +303,7 @@ public function buildFrankenphpForWindows(TargetPackage $package, PackageInstall
303303
])));
304304

305305
// build tags: skip watcher (no inotify/kqueue on Windows)
306-
$go_build_tags = 'nobadger,nomysql,nopgx,nowatcher';
306+
$go_build_tags = 'nobadger,nomysql,nopgx,deprecated_topic,deprecated_claim,nowatcher';
307307
if (!$installer->isPackageResolved('brotli')) {
308308
$go_build_tags .= ',nobrotli';
309309
}

0 commit comments

Comments
 (0)