Skip to content

Commit bb10911

Browse files
committed
cs fix
1 parent 75b6cc7 commit bb10911

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/SPC/builder/linux/library/imap.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,15 @@ protected function build(): void
4545
} else {
4646
$ssl_options = 'SSLTYPE=none';
4747
}
48-
$ldl = SystemUtil::getLibcVersionIfExists() <= '2.17' ? 'EXTRALDFLAGS="-ldl -lrt -lpthread"' : '';
48+
$extraLibs = SystemUtil::getLibcVersionIfExists() <= '2.17' ? 'EXTRALDFLAGS="-ldl -lrt -lpthread"' : '';
4949
shell()->cd($this->source_dir)
5050
->exec('make clean')
5151
->exec('touch ip6')
5252
->exec('chmod +x tools/an')
5353
->exec('chmod +x tools/ua')
5454
->exec('chmod +x src/osdep/unix/drivers')
5555
->exec('chmod +x src/osdep/unix/mkauths')
56-
->exec("yes | make slx {$ssl_options} EXTRACFLAGS='-fPIC -fpermissive' $ldl");
56+
->exec("yes | make slx {$ssl_options} EXTRACFLAGS='-fPIC -fpermissive' {$extraLibs}");
5757
try {
5858
shell()
5959
->exec("cp -rf {$this->source_dir}/c-client/c-client.a " . BUILD_LIB_PATH . '/libc-client.a')

0 commit comments

Comments
 (0)