Commit c3ed062
committed
chore: update pkg-config files with versioned library names
Updated all pkg-config (.pc.in) files to include versioned library names
by appending major version number to the library references. Changed
library flags from -l@BIN_NAME@ to -l@BIN_NAME@.@PROJECT_VERSION_MAJOR@
in both Libs and Libs.private sections for dfm-burn, dfm-io, dfm-mount,
and dfm-search packages. This change ensures proper versioning and
compatibility when linking against these libraries, allowing multiple
major versions to coexist and providing better dependency management.
Influence:
1. Verify that pkg-config correctly reports the versioned library names
2. Test linking against the updated library references
3. Confirm that build systems can properly locate the versioned
libraries
4. Ensure backward compatibility with existing code that links against
these libraries
5. Check that package installation and dependency resolution work
correctly
chore: 更新 pkg-config 文件使用版本化库名称
更新所有 pkg-config (.pc.in) 文件,在库引用中附加主版本号。将 dfm-burn、
dfm-io、dfm-mount 和 dfm-search 包的 Libs 和 Libs.private 节中的库标志从
-l@BIN_NAME@ 改为 -l@BIN_NAME@.@PROJECT_VERSION_MAJOR@。此更改确保库的正
确版本控制和兼容性,允许多个主版本共存,并提供更好的依赖管理。
Influence:
1. 验证 pkg-config 是否正确报告版本化库名称
2. 测试针对更新后的库引用进行链接
3. 确认构建系统能够正确找到版本化库
4. 确保与现有链接这些库的代码向后兼容
5. 检查软件包安装和依赖解析是否正常工作1 parent 011103b commit c3ed062
4 files changed
Lines changed: 8 additions & 8 deletions
File tree
- misc
- dfm-burn
- dfm-io
- dfm-mount
- dfm-search
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
0 commit comments