We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e49a5d7 commit 901da8fCopy full SHA for 901da8f
1 file changed
src/SPC/builder/unix/library/unixodbc.php
@@ -5,6 +5,7 @@
5
namespace SPC\builder\unix\library;
6
7
use SPC\exception\WrongUsageException;
8
+use SPC\store\FileSystem;
9
use SPC\util\executor\UnixAutoconfExecutor;
10
11
trait unixodbc
@@ -31,6 +32,12 @@ protected function build(): void
31
32
)
33
->make();
34
$this->patchPkgconfPrefix(['odbc.pc', 'odbccr.pc', 'odbcinst.pc']);
35
+ foreach (['odbc.pc', 'odbccr.pc', 'odbcinst.pc'] as $file) {
36
+ FileSystem::replaceFileStr(
37
+ BUILD_LIB_PATH . "/pkgconfig/{$file}.pc",
38
+ '$(top_build_prefix)libltdl/libltdlc.la',
39
+ '');
40
+ }
41
$this->patchLaDependencyPrefix();
42
}
43
0 commit comments