File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/SPC/builder/unix/library Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 4
4
5
5
namespace SPC \builder \unix \library ;
6
6
7
- use SPC \builder \linux \LinuxBuilder ;
8
- use SPC \builder \macos \MacOSBuilder ;
7
+ use SPC \builder \linux \library \ LinuxLibraryBase ;
8
+ use SPC \builder \macos \library \ MacOSLibraryBase ;
9
9
use SPC \exception \FileSystemException ;
10
10
use SPC \exception \RuntimeException ;
11
11
use SPC \exception \WrongUsageException ;
@@ -20,8 +20,8 @@ trait libxslt
20
20
*/
21
21
protected function build (): void
22
22
{
23
- $ static_libs = $ this -> builder instanceof LinuxBuilder ? $ this ->getStaticLibFiles (include_self: false ) : '' ;
24
- $ cpp = $ this -> builder instanceof MacOSBuilder ? '-lc++ ' : '-lstdc++ ' ;
23
+ $ static_libs = $ this instanceof LinuxLibraryBase ? $ this ->getStaticLibFiles (include_self: false ) : '' ;
24
+ $ cpp = $ this instanceof MacOSLibraryBase ? '-lc++ ' : '-lstdc++ ' ;
25
25
$ ac = UnixAutoconfExecutor::create ($ this )
26
26
->appendEnv ([
27
27
'CFLAGS ' => "-I {$ this ->getIncludeDir ()}" ,
You can’t perform that action at this time.
0 commit comments