add sqlsrv support

This commit is contained in:
crazywhalecc
2023-12-21 14:02:32 +08:00
committed by Jerry Ma
parent a39cd9a238
commit 1e0265e673
8 changed files with 100 additions and 0 deletions

View File

@@ -144,6 +144,7 @@ class LinuxBuilder extends BuilderBase
// prepare build php envs
$envs_build_php = SystemUtil::makeEnvVarString([
'CFLAGS' => $cflags,
'CPPFLAGS' => '-I' . BUILD_INCLUDE_PATH,
'LIBS' => '-ldl -lpthread',
]);

View File

@@ -0,0 +1,12 @@
<?php
declare(strict_types=1);
namespace SPC\builder\linux\library;
class unixodbc extends LinuxLibraryBase
{
use \SPC\builder\unix\library\unixodbc;
public const NAME = 'unixodbc';
}