Logo
Explore Help
Sign In
crazywhalecc/static-php-cli
1
0
Fork 0
You've already forked static-php-cli
mirror of https://github.com/crazywhalecc/static-php-cli.git synced 2026-03-18 21:04:52 +08:00
Code Issues Packages Projects Releases Wiki Activity
static-php-cli/src/SPC/builder/extension/odbc.php

18 lines
308 B
PHP
Raw Normal View History

enable PDO_ODBC and ODBC extension statically (#661) * enable PDO_ODBC and ODBC extension statically * fix sorting of ext.json * add odbc and pdo_odbc extension to tests * Add full tests, remove pdo_odbc from bulk * Remove windows support for docs * Add ODBC and PDO_ODBC extension * Revert curl static lib * Add full tests * Add iconv for macOS * Add tests * Fix linux pdo_odbc patch * Sort config --------- Co-authored-by: crazywhalecc <jesse2061@outlook.com>
2025-03-23 16:26:36 +01:00
<?php
declare(strict_types=1);
namespace SPC\builder\extension;
use SPC\builder\Extension;
use SPC\util\CustomExt;
#[CustomExt('odbc')]
class odbc extends Extension
{
unixconfigurearg needs to know if currently building shared or static
2025-03-27 11:12:19 +07:00
public function getUnixConfigureArg(bool $shared = false): string
enable PDO_ODBC and ODBC extension statically (#661) * enable PDO_ODBC and ODBC extension statically * fix sorting of ext.json * add odbc and pdo_odbc extension to tests * Add full tests, remove pdo_odbc from bulk * Remove windows support for docs * Add ODBC and PDO_ODBC extension * Revert curl static lib * Add full tests * Add iconv for macOS * Add tests * Fix linux pdo_odbc patch * Sort config --------- Co-authored-by: crazywhalecc <jesse2061@outlook.com>
2025-03-23 16:26:36 +01:00
{
return '--with-unixODBC=' . BUILD_ROOT_PATH;
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 20ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API