mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 12:54:52 +08:00
remove ldtl from odbc libs private (using built in ltdl)
This commit is contained in:
parent
e49a5d7a50
commit
901da8fa41
@ -5,6 +5,7 @@ declare(strict_types=1);
|
|||||||
namespace SPC\builder\unix\library;
|
namespace SPC\builder\unix\library;
|
||||||
|
|
||||||
use SPC\exception\WrongUsageException;
|
use SPC\exception\WrongUsageException;
|
||||||
|
use SPC\store\FileSystem;
|
||||||
use SPC\util\executor\UnixAutoconfExecutor;
|
use SPC\util\executor\UnixAutoconfExecutor;
|
||||||
|
|
||||||
trait unixodbc
|
trait unixodbc
|
||||||
@ -31,6 +32,12 @@ trait unixodbc
|
|||||||
)
|
)
|
||||||
->make();
|
->make();
|
||||||
$this->patchPkgconfPrefix(['odbc.pc', 'odbccr.pc', 'odbcinst.pc']);
|
$this->patchPkgconfPrefix(['odbc.pc', 'odbccr.pc', 'odbcinst.pc']);
|
||||||
|
foreach (['odbc.pc', 'odbccr.pc', 'odbcinst.pc'] as $file) {
|
||||||
|
FileSystem::replaceFileStr(
|
||||||
|
BUILD_LIB_PATH . "/pkgconfig/{$file}.pc",
|
||||||
|
'$(top_build_prefix)libltdl/libltdlc.la',
|
||||||
|
'');
|
||||||
|
}
|
||||||
$this->patchLaDependencyPrefix();
|
$this->patchLaDependencyPrefix();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user