File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/SPC/builder/linux/library Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 ' )
You can’t perform that action at this time.
0 commit comments