Skip to content

Commit bba390d

Browse files
committed
add runtime libs to unixshell (debian 11 is stupid and doesn't add them automatically)
1 parent 32efeb9 commit bba390d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/SPC/util/shell/UnixShell.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
use SPC\builder\linux\library\LinuxLibraryBase;
99
use SPC\builder\macos\library\MacOSLibraryBase;
1010
use SPC\exception\SPCInternalException;
11+
use SPC\util\SPCTarget;
1112
use ZM\Logger\ConsoleColor;
1213

1314
/**
@@ -48,7 +49,7 @@ public function initializeEnv(BSDLibraryBase|LinuxLibraryBase|MacOSLibraryBase $
4849
'CFLAGS' => $library->getLibExtraCFlags(),
4950
'CXXFLAGS' => $library->getLibExtraCXXFlags(),
5051
'LDFLAGS' => $library->getLibExtraLdFlags(),
51-
'LIBS' => $library->getLibExtraLibs(),
52+
'LIBS' => $library->getLibExtraLibs() . SPCTarget::getRuntimeLibs(),
5253
]);
5354
return $this;
5455
}

0 commit comments

Comments
 (0)