File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
src/SPC/builder/extension Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -69,12 +69,15 @@ public function getUnixConfigureArg(bool $shared = false): string
6969 $ arg .= $ this ->builder ->getExt ('swoole-hook-pgsql ' ) ? ' --enable-swoole-pgsql ' : ' --disable-swoole-pgsql ' ;
7070 $ arg .= $ this ->builder ->getExt ('swoole-hook-mysql ' ) ? ' --enable-mysqlnd ' : ' --disable-mysqlnd ' ;
7171 $ arg .= $ this ->builder ->getExt ('swoole-hook-sqlite ' ) ? ' --enable-swoole-sqlite ' : ' --disable-swoole-sqlite ' ;
72-
7372 if ($ this ->builder ->getExt ('swoole-hook-odbc ' )) {
7473 $ config = (new SPCConfigUtil ($ this ->builder , ['libs_only_deps ' => true ]))->config ([], ['unixodbc ' ]);
7574 $ arg .= ' --with-swoole-odbc=unixODBC, ' . BUILD_ROOT_PATH . ' SWOOLE_ODBC_LIBS=" ' . $ config ['libs ' ] . '" ' ;
7675 }
7776
77+ if ($ this ->getExtVersion () >= '6.1.0 ' ) {
78+ $ arg .= ' --enable-swoole-stdext ' ;
79+ }
80+
7881 if (SPCTarget::getTargetOS () === 'Darwin ' ) {
7982 $ arg .= ' ac_cv_lib_pthread_pthread_barrier_init=no ' ;
8083 }
You can’t perform that action at this time.
0 commit comments