Skip to content

Commit 3070376

Browse files
committed
dont use 32 bit objects
1 parent e019b65 commit 3070376

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SPC/builder/linux/SystemUtil.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ public static function getExtraRuntimeObjects(): string
251251
foreach ($objects as $obj) {
252252
$located = null;
253253
foreach ($paths as $base) {
254-
$output = shell_exec("find {$base} -name {$obj} -print -quit 2>/dev/null");
254+
$output = shell_exec("find {$base} -name {$obj} 2>/dev/null | grep -v '/32/' | head -n 1");
255255
$line = trim((string) $output);
256256
if ($line !== '') {
257257
$located = $line;

0 commit comments

Comments
 (0)